Key Pages: [ Rope Home Page | Basics (tutorial) | Language Reference | Download ]
"dump" is for use only as a debugging aid, and is only available to scripts run in UserLand mode. It prints a listing of the contents of the stack, including data types and values. It takes no arguments from the stack itself.
For example, the following script..
10 "Hello" { "x" println } $a
dump
prints the following output..
---- rope-stack @bfffb4a0 ---- max = 20 used = 4 jotter_max = 1508 jotter_used = 508 type=3, length=-1, value=10 (0x0000000A):: 10 type=1, length=5, value=-1073751308 (0xBFFFDAF4):: "Hello" type=6, length=5, value=-1073751300 (0xBFFFDAFC):: ? type=10, length=-1, value=0 (0x00000000):: ? *** Verdict = OKAY *** nActions = 5 ($max_actions = 1000)
As you will see, the format of the output is a little "terse" at the moment. I plan to make it easier to read in a future release.
Lowth.com: [ Home | Rope | P2PWall | LinWiz | cutter | Protector - Free Antivirus software | TapeIO ]