Declaring Variables and External Functions

The default layout in the Application, Window, and User Object painters includes a Script view where you can declare variables. Keeping a separate Script view open makes it easy to declare any variables or external functions you need to use in your code without closing and compiling the script.

  1. Select (Declare) from the first list in the Script view.
  2. Select the variable type (instance, shared, or global) or the function type (local or global) from the second list.
    You can also declare namespaces, using namespace directives, and interfaces in the Script view.
  3. Type the declaration in the Script view.
Next
For more information about: .