Types:
TISCQuad - a huge 8 bytes long integer. Delphi correspondent type is comp.
defSTDOUT - console output handle.
Internal:
WriteConsoleFmt - sends a formatted string to the console.
Exported:
ITDStart - initializes console and writes a version information to it. If you pass a
non-empty string to it, the string is assumed a file name where all the output will be
duplicated.
ITDStart returns irOK or irAlreadyAllocated if console was already
allocated. ITDStop returns irOK or irNotAllocated if no valid console found.
ITDMessage - sends a text message to console.
Each of the above functions returns either a result of WriteConsoleFmt call
(irOK or irNotAllocated if no valid console) or irInternalError
if WriteConsoleFmt
fails.
TDateTimeRec - C-style date/time structure.
TITDResult - returned by each function so you can easily catch the reason of failure.
defFile - log file handle.
defMaxPCharLen - maximal PChar allocation size, trailing zero not included. Make sure to
change this value and recompile if you change the declare external function SQL
definitions.
ITDStop - closes debug console.
ITDWatchInteger - displays integer variable name, its type and value.
ITDWatchString - displays string variable name, its type and value.
ITDWatchFloat - displays float variable name, its type and value using passed length and
precision specifiers.
ITDWatchDate - displays date variable name, its type and value in mm/dd/yy hh:nn:ss
format.