ampersand (&)
I = 1 & PRINT, 'VALUE: ', I
asterisk (*)
A(3:*)
represents all elements of the vector A
except the first three elements.
"at" sign (@)
When the "at" sign is the very first character in a PV-WAVE command line, it causes the compiler to substitute the contents of the command file whose name appears after @. In addition to searching the current directory for the file, PV-WAVE searches a list of locations where procedures are kept.
Ends label identifiers. Labels may only be referenced by
GOTO
and ON_ERROR
statements. The following line contains a statement with the label LOOP1
:
LOOP1: x = 2.5
The colon also separates the starting and ending subscripts in subscript range specifiers. For example
A(3:6)
designates the fourth, fifth, sixth, and seventh elements of the variable A
. dollar sign ($)
exclamation point (!) Begins the names of system-defined variables. System variables are predefined variables of a fixed type. Their purpose is to override defaults for system procedures, to return status information, and to control the action of PV-WAVE.
period or decimal point (.)
Indicates in a numeric constant that the number is of floating-point or double-precision type. Example:
1.0
is a floating-point number. WAVE
prompt, the period, if it is the first character on the line, begins an executive command. For example:
WAVE.RUN myfile
myfile.pro
. If myfile.pro
contains a main program, the program will also be executed.However, if the period is not the first character on the line as in the following example,
WAVE.RUN myfile
Also, the period precedes the name of a tag when referring to a field within a structure. For example, a reference to a tag called
NAME
in a structure stored in the variable A
is: A.NAME
. quotation mark (")
"100B
is a byte constant equal to 6410, "Don't drink the water."
is a string constant.
semicolon (;) Begins a comment field of a statement. All text on a line following a semicolon is ignored by PV-WAVE. A line may consist of just a comment or may contain both a valid statement followed by a comment.