Up: GEOS SDK TechDocs | Up | Prev: func ... | Next: handsum ...

getenv

getenv <NAME>

Examples:

"getenv PTTY"
Fetches the value of the host machine's PTTY environment variable.

Returns the value for a variable defined in Swat's environment.

If the variable isn't defined, this returns the empty string.

See Also: var, string.

get-key-binding

get-key-binding <char>

Examples:

"get-key-binding c"
Gets key binding for the character c.
"get-key-binding \045"
Gets key binding for the % key.

Gets key binding for given key.

See Also: alias, bind-key, unbind-key.

getvalue

getvalue <expr>

Examples:

"getvalue MSG_META_DETACH "
Returns the integer value of the symbol MSG_META_DETACH.

This is a front-end to the "addr-parse" command that allows you to easily obtain the integer value of any expression. It's most useful for converting something the user might have given you to a decimal integer for further processing.

If the expression you give does not evaluate to an address (whose offset will be returned) or an integer, the results of this function are undefined.

See Also: addr-parse, addr-preprocess.

go

go [<address expressions>]

Examples:

"go"
"go drawLeftLine"

Go until an address is reached.

See Also: break, continue, detach, quit.

gup

gup [<address>] [<instance field>]

Examples:

"gup"
print the generic object at *DS:SI and its ancestors
"gup @23 GI_states"
print the states of object @23 and its ancestors
"gup -i"
print the generic object under the mouse and the object's ancestors

Print a list of the object and all of its generic ancestors.

See Also: gentree, vup, vistree, impliedgrab.

handles

handles [<flags>] [<patient>]

Examples: "handles"
"handles -f"
"handles ui"

Print all handles in-use.

See Also: lhwalk, phandle, hgwalk.


Up: GEOS SDK TechDocs | Up | Prev: func ... | Next: handsum ...