Conventions Used in this Handbook

From NSB App Studio
Jump to: navigation, search

The following notation conventions are used in this Handbook:

KEYWORDS

Capital letters indicate NSB/App Studio keywords and other text that must be typed exactly as shown. For the purposes of this manual, uppercase text indicates a required part of the Statement syntax. NSB/App Studio is case-insensitive: keywords are accepted with either uppercase letters, lowercase letters, or any mixture of the two. A keyword such as PRINT may be entered into your programs as print, Print, or PRINT.

placeholders

Italic text indicates a placeholder for types of information that you must supply. In the following Statement, expression is italicized to show that the EXECUTE statement requires an expression:
EXECUTE expression

Example

This Monaco typeface indicates example program code and information that is printed on your NSB/App Studio screen. The following example shows a line from an NSB/App Studio program:
PRINT "Hello World!"

[Optional]

Brackets indicate that the enclosed items are optional. In the following example, brackets are used to show that entering a second item to display on the screen is optional for the PRINT statement:
PRINT expression1 [ ,expression2 ]
Both of these PRINT statements are legal, since PRINT accepts up to 20 expressions:
PRINT "Hello"
PRINT "Hello","World"

|

The vertical bar indicates that the items are mutually exclusive. In the following example the bar indicates that the LEN function can either be used with a string or a variable name:
LEN(string | variable)

Next: The Elements of an NSB/App Studio Program