Oxygen Basic
Programming => Problems & Solutions => Topic started by: Arnold on June 15, 2018, 07:24:41 AM
-
Hi Charles,
there is a difference between co2.exe and gxo2.exe. I tried this little batch file (ListMultilingual.bat) in \examples\WideStrings:
::List Multilingual.o2bas - assembly, script, intermediate
..\..\co2.exe -a -m Multilingual.o2bas > listc_a.txt
..\..\gxo2.exe -a -m Multilingual.o2bas > listg_a.txt
..\..\co2.exe -b -m Multilingual.o2bas > listc_b.txt
..\..\gxo2.exe -b -m Multilingual.o2bas > listg_b.txt
..\..\co2.exe -i -m Multilingual.o2bas > listc_i.txt
..\..\gxo2.exe -i -m Multilingual.o2bas > listg_i.txt
@echo.
@pause
co2.exe will create listings, gxo2.exe does not. I usually use co2.exe and I do not know if you wish to keep gxo2.exe but I wanted to draw your attention to the deviation.
Roland
-
Thanks, Roland.
My preference is to go with CO2.
Incidentally, you can also get selective listings with #show "filename" ....
If a quoted filename is given, then it will save the listing to the file instead of displaying a messagebox.
int a
#show "t.txt" a=1
block of code:
int a,b
#show "t.txt" {
a=1
b=2
}