en:code:introduction
Each object contains items. Items are:
- Methods, called with an object:
var w = new Window(); //Calls the method close() from a previously created Window object w.close();
Window().close(); //Calls the method close() from a Window object created inline
- Functions, called without an object:
Window.all(); //Calls the function all()
- Variables:
Script.nextLine = 4; //Sets the next script execution line to 4
Only one "Script.nextLine" can be executed in a Actiona code section.
Console.print("The next line is: " + Script.nextLine); //Writes an entry in the execution console with the next line
- Attributes, called with an object:
var size = new Size(); size.x = 6;
- Enumerations: TODO
en/code/introduction.txt · Last modified: 2021/02/13 11:23 by 127.0.0.1