Previous Topic

Next Topic

Book Contents

Book Index

Import / Export Designer Code Editor

Navigator > Setup > Cash Book > Statement Import Designer

Navigator > Setup > Cash Book > Electronic Banking Designer

Navigator > Setup > Data Interchange > Import Designer

Navigator > Setup > Data Interchange > Price Book Designer

Enter MaxBasic code, or the value of an expression property, or select an item from a menu to insert in Code Editor at the pointer position. You can construct statements and expressions.

See also Script Editor and Script Editor Shortcut Keys.

To access the Code Editor Context Menu, right-click in the script editor window, or press Shift+F10.

You can insert Automated code snippets in the Code Editor, see Automated Snippets.

Drop down menus

MenuPopup

Operators (Alt+O)

Lists MaxBasic operators.

MenuPopup

Objects (Alt+J)

This menu gives you access to the Designer objects and variables with the global Company, User and System objects. The cascaded menu gives you access to the properties of these objects. These properties can be used in MaxBasic code and expressions. When you select a property it will appear in the code.

MenuPopup

Functions (Alt+F)

Includes all MaxBasic functions plus any additional functions that apply explicitly to the Designer. When you select a function that expects arguments, the parentheses and commas for the arguments are shown and the pointer is positioned for the first argument, for example, InStr(|, ).

Help for a function, detailing the arguments, is available from the final option in the menu, or by pressing F1 or selecting from the context menu (right click) with the cursor positioned in the function name in the editor.

MenuPopup

Automated (Alt+A)

Lists Automated objects. Documentation for an object is available from the final option in the menu.

MenuPopup

Procedures (Alt+E)

Lists Function and Sub procedures defined in, or imported into, the code. Use Ctrl+E to open the Procedure List in a separate window.

MenuPopup

Help (Alt+H)

Access resources including descriptions, documentation and sample code.

 

Snippet (Alt+T)

Insert a code Snippet. Snippets are listed alphabetically, and the first line of each snippet is displayed.

Editor buttons

ScriptCheck

Check Code

Ensure the code entered in all code sections compiles correctly.

Set / Clear Breakpoint (Alt+B)

Set a code breakpoint on the current line. Click again to toggle to clear the breakpoint. You can also click to the right of a line to set or clear a breakpoint.

Hover the mouse over a breakpoint, then right-click to make a breakpoint unavailable, or access the Breakpoint Properties.

If a condition has been set for a breakpoint, it will be shown when you hover over the breakpoint.