home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / SIMTEL / CPMUG / CPMUG031.ARK / TBASIC.B1 < prev    next >
Text File  |  1984-04-29  |  2KB  |  69 lines

  1.         DEFINITIONS OF TERMS USED IN THIS MANUAL
  2.  
  3. <numeral>
  4. Any of the following:  0  1  2  3  4  5  6  7  8  9
  5.  
  6. <letter>
  7. Any of the following:  A  B  C  D  E  F  G  H  I  J  K  L  M
  8.                N  O  P  Q  R  S  T  U  V  W  X  Y  Z
  9.  
  10. <character>  or  <alphanumeric character>
  11. A <numeral>, a <letter>, a space, or any of the following:  
  12. ! # $ % & ' ( ) = - ^ ~|~^| \ @ { } [ ] + ; * : < > , . ? /
  13.  
  14. <numeric constant>
  15. A number, represented by a series of numerals, preceeded by
  16. an optional plus (+) or minus (-) sign, including an optional decimal
  17. point (.), and ending with an optional "E" followed by a power of ten.
  18. The range of a floating point number (one with a decimal point) is
  19. from 9.9999999E99 to 9.9999999E-99, plus and minus.  The range of
  20. a integer number is from 0 to 9999999999, plus and minus.  Expressions
  21. evaluate to integers if and only if every element of the expression
  22. evaluates to an integer.
  23.  
  24. <string constant>
  25. A string constant is a sequence of any characters, enclosed by quotes (").
  26. There is no limit to the length of any string constant (literal), variable,
  27. or array element.  Any alphanumeric character is legal.  The second quote
  28. enclosing the string constant is optional at the end of a line.
  29. Examples:  "ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789 !"    "#$%&'()"
  30.  
  31. <constant>
  32. A value which is named as such explicity in the program.  May be 
  33. either a <string constant> or a <numeric constant>.
  34. Examples:    "DON TARBELL"    3.14159    2    "ABCDEFG"
  35.  
  36. <expression>
  37. A sequence of constants and/or variables, separated by operators
  38. according to certain rules (see pages 14&15) and optionally grouped
  39. by parenthesis.
  40. Examples:  1    X    "ABC"+REST$    3*(X/Y)    SQR(B^2-4*A*C)
  41.  
  42. <numeric expression>
  43. An expression which evaluates to a number.
  44. Examples:  1+1   2*(3+5)   N/2   4*LEN(STRING$)   SIN(X)
  45.  
  46. <string expression>
  47. An expression which evaluates to a string.
  48. Examples:  LEFT$("ABCDEFG",3)   "123"+"ABC"+A$   CHR$(N+64)
  49.  
  50. <expression list>
  51. A sequence of expressions normally separated by commas or semicolons.
  52. Examples:  "THE COST IS ";COST;" DOLLARS.",TOTAL,X*5/Y    X,Y    X
  53.  
  54. <variable>
  55. An entity which can assume different values, either string or numeric.
  56.  
  57. <variable name>
  58. A sequence of numerals or letters, beginning with a letter,
  59. which is used to identify a particular variable.  If a variable
  60. name ends with a dollar sign ($), it is forced to a string.
  61.  
  62.                 B-1
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.