
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - <b>altd()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ALTD()
Invoke the CA-Clipper debugger
------------------------------------------------------------------------------
Syntax
ALTD([<nAction>]) --> NIL
Arguments
<nAction> defines what action ALTD() performs when invoked. The
following is a complete list of <nAction> values and their actions:
ALTD() Actions
------------------------------------------------------------------------
Argument Action
------------------------------------------------------------------------
None Invokes the debugger if it is enabled
0 Disables Alt+D
1 Enables Alt+D
Other No action
------------------------------------------------------------------------
Returns
ALTD() always returns NIL.
Description
ALTD() performs differently depending on its argument as shown in the
table above. For more information on using the debugger, refer to
"CA-Clipper Debugger-CLD.LIB" chapter in the Programming and Utilities
Guide. Also refer to the "Debugging Your Applications" chapter in the
Workbench User Guide.
Examples
. This example demonstrates a series of manifest constants that
can be used as arguments for ALTD() before invoking the debugger
programmatically:
#define ALTD_DISABLE 0
#define ALTD_ENABLE 1
//
ALTD(ALTD_ENABLE)
Files Library is CLIPPER.LIB.
See Also: SET ESCAPE SETCANCEL()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson