[Gambas-user] How to develop gambas component
Kadaitcha Man
nospam.nospam.nospam at ...626...
Wed Jan 27 09:53:06 CET 2010
2010/1/27 Matteo Lisi <matteo.lisi at ...2324...>:
> Hi !
HI!!!!!!!!111!!!!!!!!
> No , you are right !
Yes, he is wrong?
> But , correct me if I'm wrong
Que?
The easiest way to achieve what you want is a simple boolean flag.
$bTranscript = (Settings[mConst.SET_TRANSCRIPT] = mConst.YES)
If $bTranscript Then
$fTranscript = Open "/SomeShareTranscript" For Write Create
Print #$fTranscript, "*** Some esoteric message"
Endif
Unlike C/C++++++++++++++++++++++++++, Gambas does not support compiler flags.
Sorry, I got carried away. i meant C++.
Have your code write to a log file wherever you need debug information
on some other machine, and share the the location where the log file
is written.
That is how I debug between a Windows server and a Linux client. There
is no difference between ARM/Linux or ARM/Windows. The point being, if
you want to see it on one machine, you must write it on the other.
HTH
More information about the User
mailing list