Scripted Class

Event

  [
Related Topics]

Synopsis:

Used to define a callback hook for eventhandling.

Declaring a hook in the def section of a script:

OnDoSomething: Event public;

Implementing an event handler in the events section:

event SomeScriptInstance.OnDoSomething;
  ViewString("Dunnit");
end;

Calling an event handler from a code block:

  OnDoSomething.ExecuteEvent();



[+] Scripting Reference





Related Topics: [Top]  

   [
Support]