home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 2: Collection B / 17Bit_Collection_B.iso / files / 1438.dms / in.adf / BASIC_HELP / help2 < prev    next >
Encoding:
Text File  |  1978-09-12  |  2.5 KB  |  92 lines

  1. DATA
  2. Creates data items which can later be read by a READ statement.
  3. Any number of constants can be in a DATA statement provided they all fit on
  4. one line. They must be seperated by commas and can be either string or
  5. numeric.
  6. DATE$
  7. Calculates the curent date which is returned as a string in the form
  8. mm-dd-yy(month, day, year).
  9. eg/DATE$ 
  10. DECLARE
  11. Used with LIBRARY
  12. eg/DECLARE FUNCTION graphics library
  13. DEF FN
  14. Defines a user written function. The name is the name of the function.
  15. eg/DEFN FN fred
  16. DEFDBL
  17. Causes variables starting with a letter in the given letter range to become
  18. a double precision numeric.
  19. eg/DEFDBL a-f
  20. DEFINT
  21. Causes variables starting with a letter in the given letter range to become
  22. a short integer. 
  23. eg/DEFINT b,d
  24. DEFLNG
  25. Causes variables starting with a letter in the given letter range to become
  26. a long integer.
  27. eg/DEFLNG j-n
  28. DEFSNG
  29. Causes variables starting with a letter in the given letter range to become
  30. a single precision numeric(default).
  31. eg/DEFSNG o-z
  32. DEFSTR
  33. Causes variables starting with a letter in the given letter range to become
  34. a string.
  35. eg/DEFSTR a-z
  36. DELETE
  37. Deletes all the lines between the first and second labels/linenumbers
  38. mentioned.
  39. eg/DELETE start-55
  40. DIM
  41. Dimensions(i.e. creates) an array. By adding SHARED the array can be used in
  42. subprograms.
  43. eg/DIM total(55)
  44. Arrays can be single or multi dimensional.
  45. ELSE
  46. Used in conjunction with the IF statement.
  47. ELSEIF
  48. Used in conjunction with the IF statement.
  49. END
  50. Ends a program(optional).
  51. EOF
  52. End of file. If EOF=-1 the end of a file has been reached else it has not.
  53. Knowing the value of EOF can help prevent reading past the end of a file.
  54. eg/IF EOF(1)=0 then readata
  55. EQV
  56. Logical operator, equivalent to.
  57. ERASE
  58. Deletes an array which can later be redimensioned. THis can be a way of
  59. saving memory.
  60. ERL
  61. Gives the line on which an error occurs.
  62. ERR
  63. Gives the error number when an error occurs.
  64. ERROR
  65. This allows you to create your own error messages.
  66. EXIT
  67. Leaves a subprogram.
  68. eg/EXIT SUB
  69. EXP
  70. Finds the exponential of a number.
  71. eg/EXP(22)
  72. FIELD
  73. Used in conjunction with random files. Allows you to set up different fields
  74. for your data.
  75. FILES
  76. Displays the files on the disk.
  77. FIX
  78. Rounds down a number.
  79. eg/FIX(12.7) is 12
  80. FN
  81. Creates your own function. See DEFN FN.
  82. FOR
  83. Performs a loop a given number of times. The loop is ended by the NEXT
  84. statement.
  85. FRE
  86. Calculates the amount of free memory in bytes.
  87. fre(-1) gives the number of bytes left in the system.
  88. fre(-2) gives the number of bytes left in the stack.
  89. fre(0) gives the number of bytes left in basic.
  90. FUNCTION
  91. Used with DECLARE. See DECLARE.
  92.