Up: GEOS SDK TechDocs | Up | Prev: _print ... | Next: alias ...

addr-parse

addr-parse <addr> [<addr-only>]

Examples:

"addr-parse *ds:si"
Parse the address "*ds:si" into its handle, offset and data-type components. In this case, the data-type will be "nil".
"addr-parse ILLEGAL_HANDLE 0"
Figures the value for the enumerated constant "ILLEGAL_HANDLE". The handle for this non-address will be "value".

This command parses the address expression into its components, returning a list {<handle> <offset> <type> } as its value.

See Also: value, handle, type.

addr-preprocess

 addr-preprocess <addr> <seg-var> <off-var>

Examples:

"addr-preprocess $args s o"
Parse the address expression in $args, storing the segment portion in $s and the offset portion in $o in the current scope.

Preprocesses an address expression into a form that is easier to manipulate and faster to reparse.

See Also: addr-parse.

addr-with-obj-flag

addr-with-obj-flag

Examples:

"var addr [addr-with-obj-flag $addr]"
If $addr is "-i", returns the address of the current implied grab.

This is a utility routine that can be used by any command that deals with objects where the user may reasonably want to operate on the leaf object of one of the hierarchies, or the windowed object under the mouse. It can be given one of a set of flags that indicate where to find the address of the object on which to operate.

See Also: impliedgrab, content, focusobj, targetobj, modelobj, keyboardobj, mouseobj.


Up: GEOS SDK TechDocs | Up | Prev: _print ... | Next: alias ...