|
GEOS SDK TechDocs
|
|
debug ...
|
drivewalk ...
delassoc
delassoc <list> <key> [<foundvar> [<elvar>]]
Examples:
-
"delassoc $val murphy"
-
Returns $val without the sublist whose first element is the string "murphy."
Deletes an entry from an associative list.
-
<foundvar>, if given, is the name of a variable in the caller's scope that is to be set non-zero if an element in <list> was found whose <key> matched the given one. If no such element was found (and therefore deleted), the variable is set zero.
-
<elvar>, if given, is the name of a variable in the caller's scope that receives the element that was deleted from the list. If no element was deleted, the variable remains untouched.
See Also: assoc.
detach
detach [<options>]
Examples:
-
"detach cont"
-
continue GEOS and quit swat
Detach swat from the PC.
-
The <option> argument may be one of the following:
continue
: continue GEOS and detach swat;
leave
: keep GEOS stopped and detach swat. Anything else causes swat to just detach.
See Also: attach,
quit.
dirs
dirs
Prints the directory stack for the current thread.
See Also: pwd,
stdpaths.
discard-state
discard-state
Examples:
-
"discard-state"
-
Throw away the values for all the thread's registers as saved by the most recent call to
save-state
.
Throw away the state saved by the most-recent
save-state
command.
This is usually only used in response to an error that makes it pointless to return to the point where the
save-state
was performed.
See Also: save-state,
restore-state.
diskwalk
diskwalk <drive>
Examples:
-
"diskwalk F"
-
Prints the disks registered in drive F.
-
"diskwalk"
- Prints all the disks registered with the system.
Prints out the information on registered disks.
The Flags column is a string of single-character flags with the following meanings:
-
w
- The disk is writable.
-
V
- The disk is always valid, i.e. it's not removable.
-
S
- The disk is stale. This is set if the drive for the disk has been deleted.
-
u
- The disk is unnamed, so the system has made up a name for it.
See Also: drivewalk.
display
display <lines> <command>
display list
display del <num>
Examples:
-
"display list"
-
list all the commands displayed
-
"display 1 {piv Vis VCNI_viewHeight}"
-
always display the view height
-
"display del 2"
-
delete the second display command
Manipulate the display at the bottom of Swat's screen.
-
If you give a numeric <lines> argument, the next argument, <command>, is a standard Tcl command to execute each time the machine halts. The output of the command is directed to a window <lines> lines high, usually located at the bottom of the screen.
-
You can list all the active displays by giving "list" instead of a number as the first argument.
-
If the first argument is "del", you can give the number of a display to delete as the <num> argument. <num> comes either from the value this command returned when the display was created, or from the list of active displays shown by typing "display list".
See Also: wtop,
wcreate.
dosMem
dosMem
Examples:
-
"dosMem"
Traverse DOS' chain of memory blocks, providing information about each.
down
down [<frame offset>]
Examples:
-
"down"
- move the frame one frame down the stack
-
"down 4"
- move the frame four frames down the stack
Move the frame down the stack.
-
The frame offset argument is the number of frames to move down the stack. If no argument is given then the current frame is moved down one frame.
-
This command may be repeated by pressing <Return>.
See Also: backtrace,
up.
|
GEOS SDK TechDocs
|
|
debug ...
|
drivewalk ...