|
Sending output to the SCREEN |
Top Previous Next |
|
One can choose to send the put file output to the console screen by using the following specification for the file name (comparewhere.gms).
$set console $if %system.filesys% == UNIX $set console /dev/tty $if %system.filesys% == DOS $set console con $if %system.filesys% == MS95 $set console con $if %system.filesys% == MSNT $set console con $if "%console%." == "." abort "filesys not recognized"; file screen / '%console%' /;
then using put commands like (comparewhere.gms).
put screen; put 'I am on scenario ' Scenarios.tl; putclose;
This works fine in DOS or UNIX but not under the IDE. There you need to make the DOS window visible by manipulating the options under the execute tab or just send to the LOG file.
|