Download Workabout MX User Manual Complete

Transcript
Usage:
ret%=FINDLIB(var cat%, name$)
Find DYL category "name$" (including ".DYL" extension) in
the ROM. On success returns zero and writes the category handle to
"cat%". (See `I/O functions and commands' in the `Advanced topics'
chapter for a description of the use of `var' variables.)
FIRST
Usage:
FIRST
Positions to the first record in the current data file.
FIX$
Usage:
f$=FIX$(x,y%,z%)
Returns a string representation of the number "x", to "y%"
decimal places. The string will be up to "z%" characters long.
Example: "FIX$(123.456,2,7)" returns ""123.46"".
*) If "z%" is negative then the string is right-justified
for example "FIX$(1,2,-6)" returns
"" 1.00"" where there are two spaces to the left of the "1".
*) If "z%" is positive then no spaces are added
for example "FIX$(1,2,6)" returns ""1.00"".
*) If the number "x" will not fit in the width specified
by "z%", then the string will just be asterisks, for example "FIX$(256.99,2,4)"
returns ""****"".
See also GEN$, NUM$, SCI$.
FLT
Usage:
f=FLT(x&)
Converts an integer expression (either integer or long integer) into
a floating-point number. Example:
PROC gamma:(v)
LOCAL c
c=3E8
RETURN 1/SQR(1-(v*v)/(c*c))
ENDP"