home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / MISC / FPC355_3.ZIP / FPCHLP.ZIP / EQUCOLON.HLP < prev    next >
Encoding:
Text File  |  1989-07-06  |  2.9 KB  |  81 lines

  1. \ EQUCOLON.HLP          Help file for VALUEs
  2.  
  3. %@>             ( --- n1 )
  4.         Fetch BODY field of following definition.
  5.         ** May NOT be used on the command line **
  6.  
  7. %!>            ( n1 -- )
  8.         Primitive used by the following definitions, gets compiled into
  9.         colon definition, and stores value on the stack into the following
  10.         defs body field.
  11.         ** May NOT be used on the command line **
  12.  
  13. %U@>            ( --- N1 )
  14.         Fetch the DATA field of a USER definition in USER space.
  15.         ** May NOT be used on the command line **
  16.  
  17. %U!>            ( N1 --- )
  18.         Store into the DATA field of a USER definition in USER space.
  19.         ** May NOT be used on the command line **
  20.  
  21. %INCR>          ( --- )
  22.         Increment the BODY field of the following definition by one.
  23.         ** May NOT be used on the command line **
  24.  
  25. %DECR>          ( --- )
  26.         Decrement the BODY field of the following definition by one.
  27.         ** May NOT be used on the command line **
  28.  
  29. %OFF>           ( --- )
  30.         Clear to zero the BODY field of following definition.
  31.         ** May NOT be used on the command line **
  32.  
  33. %ON>            ( --- )
  34.         Set to -1 the BODY field of following definition.
  35.         ** May NOT be used on the command line **
  36.  
  37. ?NOUSER         ( a1 --- a1 )
  38.         Test a1 to verify it is not a USER definition, if it is, abort.
  39.  
  40. ?USER           ( a1 --- a1 f1 )
  41.         Test a1, is it a user word, return TRUE if it is else FALSE.
  42.  
  43. @>              ( | <name> --- n1 )
  44.         Fetch the BODY or USER contents of the following definiton.
  45.         See also !>
  46.  
  47. !>              ( n1 | <name> -- )
  48.         Store into the BODY or USER field of the following definition.
  49.         Used to assign values into the body of <name>, like VARIABLEs or
  50.         VALUEs. May be used on the command line. Typical usage is as
  51.         follows:        34 VALUE MYVAL          \ create a VALUE
  52.         : CHANGE_MYVAL  ( --- )                 \ define a word to
  53.                         23 !> MYVAL ;           \ change MYVAL
  54.  
  55.         The word " =: " is an alias for " !> ".
  56.  
  57. +!>             ( n1 | <name> --- )
  58.         Increment the BODY or USER field of <name> by n1. See also !>
  59.         Typically used to modify a VALUE or VARIABLE.
  60.  
  61. INCR>          ( | <name> -- )
  62.         Increment the body of <name> by one, used to modify the following
  63.         VALUE or VARIABLE.
  64.  
  65. DECR>          ( | <name> -- )
  66.         Decrement the body of <name> by one, used to modify the following
  67.         VALUE or VARIABLE.
  68.  
  69. ON>             <name> ( --- )
  70.         Turn on the VALUE or VARIABLE <name> following. Somewhat faster
  71.         than <name> ON.
  72.  
  73. OFF>            <name> ( --- )
  74.         Turn off the VALUE or VARIABLE <name> following. Somewhat faster
  75.         than <name> OFF.
  76.  
  77. &>              ( t1 --- a1 )
  78.         Return the BODY address a1 of word t1, a VALUE.
  79.  
  80.  
  81.