Workbench User Guide : 13. Writing Scripts and Procedures : How You Can Use Scripts
 
Share this page                  
How You Can Use Scripts
You can use scripts for fields, menu items, and user class methods to perform a task when the user selects the field, item, or class. You can develop your scripts using the Script Editor—the Workbench text editing facility—or your own system editor.
Note:  You can also include 4GL procedures in your script using the Include Script Editor.
All procedures and scripts must be written in 4GL, and may include preprocessor statements and macro variables as defined in the Programming Guide.
Note:  The Script Editor only lets you edit your 4GL scripts; it does not let you edit the preprocessor output from your scripts. You may view the preprocessor output from your scripts by clicking Tools, View Processed Script on the Frame Editor's floating menu bar. However, you can edit the processed script using the Debugger.
For additional information about using the Debugger, see the Programming Guide.