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.
|
|
|
|