Hello all,
I was wondering if anyone knew of a way to display the output of the following code to a terminal window upon the initialization of a Unix executable file:
debugln('Start of Calc Trace');
decodedate(date, YYYY,MM,DD);
debugln(format('Date MMDDYYYY= "%d/%d/%d"',[mm,dd,YYYY]));
debugln('<Time HH:MM:SS XM= "',timetostr(time),'"/>');
I have tried every avenue that I can think of to get this code to write to the terminal; but, for whatever reason it will not display in the terminal window that opens when I run the Unix executable file associated with my program.
Any help would be appreciated!
Below are my system parameters:
macOS: BigSur 11.5.2
Lazarus 2.0.12 x86_64-macosx
fpc-3.2.0.intel-macosx
fpc-src-3.2.0-2