Rules for Entering SQR Commands

Use these command rules as you develop SQR programs:

  • You can enter SQR commands in either uppercase or lowercase; they are not case-sensitive.

    Many SQR programmers use uppercase for SQR commands, but SQR ignores case as it compiles source code.

  • You must separate command names and arguments by at least one space or tab character.

  • You must begin each command on a new line; however, you can develop commands that extend beyond one line.

  • You can break a line in any position between words except inside a quoted string.

  • You can use a hyphen (-) at the end of a line to indicate that it continues on the next line; however, SQR ignores hyphens and carriage returns in commands.

  • You must begin each comment line with an exclamation point (!).

Note:

To display the exclamation point (!) or single quote (') symbols in a report, type the symbol twice to indicate that it is text. For example, DON'T is typed DON''T. This rule does not apply in the document paragraph of form-letter reports.