Up: GEOS SDK TechDocs | Up | Prev: bits ... | Next: continue-patient ...

car

car <list>

Examples:

"car $args"
Returns the first element of $args.

Returns the first element of a list.

This is a lisp-ism for those most comfortable with that language. It can be more-efficiently implemented by saying [index <list> 0]

See Also: cdr.

cdr

cdr <list>

Examples:

"cdr $args"
Returns the remaining arguments yet to be processed.

Returns all but the first element of a list.

This is a lisp-ism for those most comfortable with that language. It can be more-efficiently implemented by saying [range <list> 1 end]

See Also: car.

classes

classes [<patient>]

Examples:

"classes "
Print list of classes in current patient.
"classes myapp"
Print list of classes in myapp patient.

Prints list of classes defined by the given patient.

Remember that "brk" will take address arguments of the form <class>::<message>, so you can use this function and set a breakpoint using "brk MyTextClass:: MSG_MY_TEXT_MESSAGE ". If you need a breakpoint that's limited to one object, use objbrk instead.

clrcc

clrcc <flag> [<value>]

Examples:

"clrcc c"
clear the carry flag

Clear a flag in the target computer.

The first argument is the first letter of the flag to clear. The following is a list of the flags:
t trap
i interrupt enable
d direction
o overflow
s sign
z zero
a auxiliary carry
p parity
c carry

See Also: setcc, compcc, getcc.

columns

columns

Examples:

"columns"
Return the number of columns on the screen.

Retrieves the width of the screen, if known, to allow various commands (most notably "print") to size their output accordingly.

compcc

compcc <flag>

Examples:

"compcc c"
complement the carry flag

Complement a flag in the target computer.

The first argument is the first letter of the flag to complement. The following is a list of the flags:
t trap
i interrupt enable
d direction
o overflow
s sign
z zero
a auxiliary carry
p parity
c carry
This command is handy to insert in a patch to flip a flag bit.

See Also: setcc, clrcc.

completion

completion <list-of-names>

Examples:

"completion {martial marital}"
Returns "mar," the common prefix.

Figures the common prefix from a set of strings. Used for the various forms of completion supported by top-level-read.

condenseSmall

var condenseSmall [(0|1)]

Examples:

"var condenseSpecial 0"
Force even small structures to be printed one field per line.

Controls whether "print" attempts to condense the output by printing small (< 4 bytes) structures (which are usually records in assembly language) as a list of <name> = <int>, where <name> is the field name and <int> is a signed integer.

The default value of this variable is one.

See Also: print, condenseSpecial.

condenseSpecial

var condenseSpecial [(0|1)]

Examples:

"var condenseSpecial 0"
Turns off the special formatting of various types of structures by "print".

Controls the formatting of certain structures in more-intuitive ways than the bare structure fields.

See Also: print, condenseSmall.

cont

cont

Examples:

"cont"
continue execution
"c"
continue execution

Continue GEOS.

See Also: go, istep, step, next, detach, quit.

content

content

Examples:

"vistree [content]"
print the visual tree of the content of the view under the mouse.

Print the address of the content under the view with the current implied grab.

See Also: systemobj, gentree, impliedgrab.


Up: GEOS SDK TechDocs | Up | Prev: bits ... | Next: continue-patient ...