Mirror of CollapseOS
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

16 Zeilen
521B

  1. DOES>
  2. Used inside a colon definition that itself uses CREATE, DOES>
  3. transforms that newly created word into a "does cell", that is,
  4. a regular cell (when called, puts the cell's addr on PS), but
  5. right after that, it executes words that appear after the
  6. DOES>.
  7. "does cells" always allocate 4 bytes (2 for the cell, 2 for the
  8. DOES> link) and there is no need for ALLOT in colon definition.
  9. At compile time, colon definition stops processing words when
  10. reaching the DOES>.
  11. Example: ": CONSTANT CREATE HERE @ ! DOES> @ ;"