Up: GEOS SDK TechDocs | Up | Prev: pvismon ... | Next: ret ...

read-reg

read-reg <register>

Examples:

"read-reg ax"
return the value of AX
"read-reg CC"
return the value of the conditional flags

Return the value of a register in decimal.

See Also: frame, assign, setcc, clrcc.

regs

regs

Print the current registers, flags, and instruction.

See Also: assign, setcc, clrcc, read-reg.

regwin

regwin [off]

Examples: "regwin"
"regwin off"

Turn the continuous display of registers on or off.

See Also: display.

repeatCommand

var repeatCommand <string>

Examples:

"var repeatCommand [list foo nil]"
Execute the command "foo nil" if the user just hits <Enter> at the next command prompt.

This variable holds the command Swat should execute if the user enters an empty command. It is used by all the memory-referencing commands to display the next chunk of memory, and can be used for other purposes as well.

See Also: target, focus, mouse, keyboard.

require

require <name> [<file>]

Examples:

"require fmtval print"
Ensure the procedure "fmtval" is defined, loading the file "print.tcl" if it is not.

This ensures that a particular function, not normally invoked by the user but present in some file in the system library, is actually loaded.

If no <file> is given, a file with the same name (possibly suffixed ".tcl") as the function is assumed.

See Also: autoload.

resize

resize <window> <numLines>

Examples:

"resize varwin 5"
Resizes the varwin to 5 lines.
"resize va 5"
Resizes the varwin to 5 lines.

Resizes the source window or a varwin or localwin.

restore-state

restore-state

Examples:

"restore-state"
Set all registers for the current thread to the values saved by the most recent save-state.

Pops all the registers for a thread from the internal state stack.

See Also: save-state.


Up: GEOS SDK TechDocs | Up | Prev: pvismon ... | Next: ret ...