This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:asstring [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:asstring [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Description ===== | ===== Description ===== | ||
Converts an item on the stack to a string. | Converts an item on the stack to a string. | ||
+ | |||
+ | ===== Programming Note ===== | ||
+ | This command was initially created to provide debugging output. To reduce the amount of data output from one command, long data elements, notably Tables and Lists, will be truncated at 99,999 bytes. This may result in apparent discrepancies or errors when the converted data is inspected in the Print log (RPL.txt file) or if the result is used as input to another command. | ||
===== Examples ===== | ===== Examples ===== | ||
<code 4rpl> | <code 4rpl> | ||
- | 42 asstring | + | 42 AsString |
trace(< | trace(< | ||
</ | </ | ||
+ | |||
+ | See also: | ||
+ | * [[AsInt]] | ||
+ | * [[AsFloat]] | ||
+ | |||
< | < | ||