MicroStrategy ONE

Enabling or disabling syntax highlighting

The Script window can color-code the text of a script or procedure according to its syntax.

In a script:

  • Reserved words appear in blue.

  • Words or phrases in quotation marks (usually identifiers) appear in gray.

  • Numbers appear in red. Dates appear in red with blue slashes.

  • GUIDs appear in green.

  • All other text appears in black.

In a procedure:

  • Keywords, such as if or boolean, appear in purple, and bold.

  • Functions, classes, and methods appear in red.

  • Command Manager statements appear in blue.

  • Comments appear in green.

  • All other text appears in black.

This highlighting makes it easier to identify syntax errors that are the result of typographical errors.

To enable or disable syntax highlighting

  1. From the Tools menu, select Options. The Options dialog box opens.

  2. In the Display tab, select or clear the Enable Text Coloring check box to enable or disable the syntax highlighting feature.

  3. When you are finished making changes, click OK. The Options dialog box closes and syntax highlighting is enabled or disabled.

Related Topics

Command Manager syntax

Executing a script

Script errors: Syntax errors

Inserting sample statements: Outlines