Previous Topic

Next Topic

Snippet Code Editor

Accredo > Script > Snippet Manager > Edit (F11) button

Edit the Title or MaxBasic code for a snippet.

Text

The title for the code snippet, that will appear in the list in the Snippet Manager.

Drop down menus

Operators (Alt+O)

Lists MaxBasic operators.

Objects (Alt+J)

Objects, the first part shows pre-defined Global Variables that can be used (if none, this part is omitted). The second (always exists) lists the Company object and data file objects.

ClickSmall Right Arrow to access object properties to use in MaxBasic code and expressions.

Functions (Alt+F)

MaxBasic functions. When you select a function that expects arguments, parentheses and commas for the arguments are shown with the pointer at 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 Alt+F1 or selecting from the context menu (right click) with the cursor positioned in the function name in the editor.

Procedures (Alt+E)

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

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 (Alt+C)

Checks the code compiles correctly, without running the script.

Save (Ctrl+S)

Saves the code, and closes the Snippet Code Editor.

See Also

MaxBasic Snippet Manager

Book Contents

Book Index