UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software UniBasic Commands Reference - Rocket Software

rocketsoftware.com
from rocketsoftware.com More from this publisher
11.04.2013 Views

STATUS Code Example The following example illustrates deactivating an encryption key: 1-195 UniBasic Commands Reference Description 5 Invalid key ID or password 6 No access to one of the keys in the wallet 9 Other error DEACTIVATEKEY STATUS Codes (continued) DEACTIVATEKEY "test","myunidata" ON ERROR PRINT "Unable to deactivate key"

DEBUG Syntax DEBUG Description The UniBasic DEBUG command stops program execution, turns control over to the interactive UniBasic debugger, and then displays the debugger prompt (!). Pressing the interrupt key also gives control to the debugger. For information about the UniBasic debugger, see Using the UniBasic Debugger. To use the DEBUG command to display the contents of variables, you must compile the program with the D option. Note: The setting of UDT.OPTIONS 14 determines where to return control after exiting a UniBasic program when you are using the UniBasic debugger and enter ABORT or END. For information about UDT.OPTIONS, see the UDT.OPTIONS Commands Reference. When you enter the debugger, a message similar to the following displays, and the cursor is placed at the debugger prompt: DEBUGGER called before line 1 of program BP/TEST ! Related Commands UniBasic ABORT UniData BASIC, DEBUG.FLAG, DEBUGLINE.ATT, DEBUGLINE.DET, ON.ABORT, RUN, SETDEBUGLINE, UNSETDEBUGLINE – For information, see the UniData Commands Reference. DEBUG 1-196

STATUS<br />

Code<br />

Example<br />

The following example illustrates deactivating an encryption key:<br />

1-195 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

Description<br />

5 Invalid key ID or password<br />

6 No access to one of the keys in the wallet<br />

9 Other error<br />

DEACTIVATEKEY STATUS Codes (continued)<br />

DEACTIVATEKEY "test","myunidata" ON ERROR PRINT "Unable to deactivate key"

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!