Compiling the script

Before you can execute a script, you must compile it.

StepsTo compile a script:

  1. Click the Compile button, or select Edit>Compile from the menu bar.

    PocketBuilder compiles the script and reports any problems it finds, as described in “Handling problems”.

NotePocketBuilder compiles automatically When you attempt to open a different script in a Script view, PocketBuilder compiles the current script. When you save the object, such as the window containing a control you wrote a script for, PocketBuilder recompiles all scripts in the object to make sure they are still valid. For example, PocketBuilder checks that all objects that were referenced when you wrote the script still exist.