home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
commodity
/
superdark
/
programmer.lha
/
programmer
/
util
/
show_info.doc
< prev
Wrap
Text File
|
1995-01-05
|
709b
|
20 lines
SHOW_INFO:
---------
Usage: show_info
- This is an utility program for SuperDark. This program, open two
window. In the first window there is some not so interesting informations,
but the second window is a text window.
In this second window, you can see debug informations sends by modules.
This is very usefull for modules programmers. Just add a SDprintf()
funciton in tour sourcecode, like this:
SDprintf("Hello, I'm here, and the value is:%lx\n",toto);
Just like any normal printf.
NOTE: DO NOT USE printf, use SDprintf in your modules
NOTE: The function use the exec RawDoFmt, so this function only
work with LONG value, so use %ld,%lx, instead of %d,%x, etc...