home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga ISO Collection
/
AmigaUtilCD2.iso
/
Programming
/
Misc
/
M2V11-2.LHA
/
modula
/
dice
/
dice.lha
/
dynamic
/
dynamic.lha
/
test
/
hdebug.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-04-29
|
359 b
|
28 lines
/*
* HDEBUG.C
*
* HDEBUG level
*/
main(ac, av)
int ac;
char *av[];
{
long debug;
if (ac == 1) {
puts("HDEBUG <level>");
puts("0 to turn off debugging. While on, this CLI must remain");
puts("open.");
exit(1);
}
debug = atoi(av[1]);
if (debug)
SetHyperDebug(Output(), debug);
else
SetHyperDebug(0, 0);
return(0);
}