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


Words in category String Constant Words in glossary String Library

Search:
The following words are listed in this category (6 words found): Word Types: S = Standard, I = Immediate , IC = Immediate-compiling.
Word Name Word Type Data Stack Signature Return Stack Signature Description Availability
V1.0 V1.1 V1.2
$CONST SC maxlen "value" -- -- Declares a string constant. String constants have a fixed size.
.$CONST S $Caddr -- -- Displays the string allocated to the specified string constant.
:='' IC $Caddr "value" -- -- Assigns the string following the word to the referenced string constant.
>$ S $Caddr -- / ss: -- str -- Moves the string within the specified string constant to the string stack, where it can be manipulated.
CLEN$ S $Caddr -- length -- Returns the actual length of the string stored within the string constant.
MAXLEN$ S $Caddr -- maxlen -- Returns the maximum allowed string length for the specified string constant.

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