2000-OSM, F1
10-5
< <= <> = >= >
Relational
NOT
Logical
AND
Logical
OR
Logical
ALPHABETIC LISTING
This section lists the Vista BASIC commands, functions and statements alphabetically, with
descriptive information in each listing to guide you in using the listing. VistaNET commands are
listed separately at the end of this section.
ABSOLUTE VALUE Function
Description:
Returns the absolute value of a floating point expression.
Syntax:
ABS(fp!)
Comments:
fp!
is a floating point expression.
Example:
0010 A! = ABS(A!)
Takes the absolute value of the expression stored in variable A! and assigns
it to variable A!.
ACTIVATED BY Function
Description: Returns
the
code
that defines how the Vista BASIC program was activated.
Syntax:
ACTIVATED_BY
Comments:
0 = status cleared
1
=
Manually
2 = Time Module
3 = End of Analysis
4 = End of Benchmark
5 = End of Calibration
Example:
0010 CODE = ACTIVATED_BY
0020 IF CODE = 1 THEN
0030 :LPRINT “ACTIVATED MANUALLY”
ACTIVATE STREAM Command
Description:
Adds a stream to the sequence of streams analyzed.
Syntax:
ACT(stream%)
Comments:
stream%
is the stream to be activated (from 1 to the maximum number of
streams).
Example:
0010 FOR I = 1 TO 5
0020
ACT(I)
0030 NEXT I
Statement 20 is executed five times to activate streams 1 through 5.
ADD TCF Command
Description:
Adds a Time Coded Function (TCF) to a method table (Sim Dis analyzers
only).
Syntax:
ADD_TCF(method%,time%,function$,value$)
Comments:
method%
is the method table (1-8).
time%
is the time at which the TCF is to occur.
function$
is the TCF the method table is perform at the specified time.
value$
is the TCF’s value.
Example:
0010 N = ADD_TCF(1,100,“FORCED GATE
0020 :”,“ON @ BASE”)