HP 9000 200 Series Manual page 19

Using the basic 5.0/5.1 system
Table of Contents

Advertisement

The Significance of Letter-case
While typing commands, letter-case is
usually
not important. For instance, these two
commands are recognized as being equivalent by the system as the BEEP statement:
beep
BEEP
However, letter-case
is
significant when typing in things like literal text (enclosed in
"quotes"). Also, BASIC keywords can be all upper-case or all lower-case; however, when
letter-case is mixed in a keyword, the system interprets it as a variable name. For
instance, Beep would be interpreted as a variable name, not as a keyword. HE'rE' arE' some
examples that are not equivalent:
Table 2-1. Example Commands that Are NOT Equivalent
First Command
Second Command
Reason not Equivalent
LOAD "MyFile"
LOAD "MYFILE"
Literal string
systemS ("MSI")
system$(" ms i")
Literal string
BEEP
Beep
Can't mix letter-case in keywords
2- 2
Introduction to the System

Advertisement

Table of Contents
loading

This manual is also suitable for:

9000 300 series

Table of Contents