I would like to display the values of variables.
some are int, some are string.
Is there a way to do that?
Can I use printf in a win exe?
You can just use WriteLn and the console.
Or build a debug executable and use this function:
DECLARE IMPORT,OutputDebugStringA(lpOuputString as STRING);
Any thing you send to this function will show up in the debug pane of the IDE....running in debug mode of course.
OutputDebugStringA(STR$(var));
"printf" is part of the standard C library and outputs to the console.
That worked great - Thanks
It's a debug question...
How does the compiler know when to define the DEBUG symbol? Is there a command line argument that I don't know about?
I would think the 'Declare Import' function is turning it on.
/dDEBUG