home *** CD-ROM | disk | FTP | other *** search
- DATA
- Creates data items which can later be read by a READ statement.
- Any number of constants can be in a DATA statement provided they all fit on
- one line. They must be seperated by commas and can be either string or
- numeric.
- DATE$
- Calculates the curent date which is returned as a string in the form
- mm-dd-yy(month, day, year).
- eg/DATE$
- DECLARE
- Used with LIBRARY
- eg/DECLARE FUNCTION graphics library
- DEF FN
- Defines a user written function. The name is the name of the function.
- eg/DEFN FN fred
- DEFDBL
- Causes variables starting with a letter in the given letter range to become
- a double precision numeric.
- eg/DEFDBL a-f
- DEFINT
- Causes variables starting with a letter in the given letter range to become
- a short integer.
- eg/DEFINT b,d
- DEFLNG
- Causes variables starting with a letter in the given letter range to become
- a long integer.
- eg/DEFLNG j-n
- DEFSNG
- Causes variables starting with a letter in the given letter range to become
- a single precision numeric(default).
- eg/DEFSNG o-z
- DEFSTR
- Causes variables starting with a letter in the given letter range to become
- a string.
- eg/DEFSTR a-z
- DELETE
- Deletes all the lines between the first and second labels/linenumbers
- mentioned.
- eg/DELETE start-55
- DIM
- Dimensions(i.e. creates) an array. By adding SHARED the array can be used in
- subprograms.
- eg/DIM total(55)
- Arrays can be single or multi dimensional.
- ELSE
- Used in conjunction with the IF statement.
- ELSEIF
- Used in conjunction with the IF statement.
- END
- Ends a program(optional).
- EOF
- End of file. If EOF=-1 the end of a file has been reached else it has not.
- Knowing the value of EOF can help prevent reading past the end of a file.
- eg/IF EOF(1)=0 then readata
- EQV
- Logical operator, equivalent to.
- ERASE
- Deletes an array which can later be redimensioned. THis can be a way of
- saving memory.
- ERL
- Gives the line on which an error occurs.
- ERR
- Gives the error number when an error occurs.
- ERROR
- This allows you to create your own error messages.
- EXIT
- Leaves a subprogram.
- eg/EXIT SUB
- EXP
- Finds the exponential of a number.
- eg/EXP(22)
- FIELD
- Used in conjunction with random files. Allows you to set up different fields
- for your data.
- FILES
- Displays the files on the disk.
- FIX
- Rounds down a number.
- eg/FIX(12.7) is 12
- FN
- Creates your own function. See DEFN FN.
- FOR
- Performs a loop a given number of times. The loop is ended by the NEXT
- statement.
- FRE
- Calculates the amount of free memory in bytes.
- fre(-1) gives the number of bytes left in the system.
- fre(-2) gives the number of bytes left in the stack.
- fre(0) gives the number of bytes left in basic.
- FUNCTION
- Used with DECLARE. See DECLARE.
-