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


Words in category String Words in glossary TurboForth Kernal

Search:
The following words are listed in this category (12 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
$. S n -- -- Displays the number n as an unsigned 16 bit hexadecimal integer.
. S n -- -- Displays n as a signed 16 bit integer in the current number BASE.
." IC -- -- Displays the string immediately following it. For use in colon definitions only.
.R S n width -- -- Displays the signed number n, right justified by width characters.
ASCII I -- ascii -- Obtains the ASCII code of the first character of the word that follows itself in the input stream.
CHAR I -- ascii -- Returns the ascii value of the first character in the word immediately following.
COUNT S addr1 -- addr2 len -- Converts a counted string at addr1 to an address/length pair suitable for use with TYPE etc.
N>S S n -- addr len -- Converts a number n from the stack into a string equivalent.
S" IC -- addr len -- Stores a string. At run-time, the address addr and length len of the string are pushed to the stack.
-TRAILING S addr len -- addr len1 -- Trims a string of any trailing spaces. Modifies len accordingly.
U. S n -- -- Displays the value n as an unsigned 16 bit integer in the current number BASE.
U.R S n width -- -- Displays the unsigned number n, right justified by width characters.

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