<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>


INS: Search:

In Double-Precision Numeric Display Words in 32-bit library

Word Name: INS:
Type: Standard word
Data Stack Signature: --
Return Stack Signature: --
Availability: V1.2
Description:

Inserts the ASCII character following it into the PNO buffer.

Example:

: .$ ( ud:value – ) <# # # INS: . BEGIN 2DUP .1000 D> WHILE # # # INS: , REPEAT #S INS: $ #> TYPE ;

Comment:

The word INS: (short for “insert”) is not a standard double-precision word, it was added by this author as a convenience to make code both shorter and easier to read. INS: behaves the same as HOLD – it inserts an ASCII character into the PNO buffer; however, it removes the need for the words ASCII or CHAR, thus making the code easier to read.

See Also: <#  #  #>  #S  HOLD 

<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>