Script Code Window

Use this window to edit scripts with the WinWrap Basic Editor. This is an interactive environment for developing, testing, and executing WinWrap Basic scripts.

The editor contains both a menu bar and a toolbar. Descriptions for these options is included in the WinWrap Basic Editor Help.

Select the Editor Help from the Help menu to get more information about the script editor and its user interface. Select Language Help from the Help menu to get more information about the WinWrap Basic language. Select Script Documentation from the Help menu to get more information about script programming and CASCADE objects.

The Object list right beneath the toolbar provide the following:

Object

The Object list shows all the objects for the current module.

Proc

The Proc list shows all the procedures or events for the currently selected object. Selecting an item from the proc list that is not bold inserts the proper procedure definition for that procedure into the code area.

Additionally, the editor has different tabs that are vertically arranged down the left side of the window. Each tab consists of an edit area used to insert script code and a band on the left to place breakpoints.

Before you start entering code you have to select the correct sheet. The project script is always opened as the first sheet (tab 1). The window caption of this sheet is Project - Script Code. For example, in this sheet you can implement a field formatting procedure or a script validation method. All public defined functions or methods in this sheet are available in all other sheets.

For each class a script sheet is inserted by selecting Show Script from the shortcut menu of a class. In these sheets the internal methods of the class can be implemented.