Oxygen Basic

Programming => Problems & Solutions => Topic started by: Arnold on September 28, 2019, 05:39:13 AM

Title: Allowed file extensions for compiling?
Post by: Arnold on September 28, 2019, 05:39:13 AM
Hi Charles,

if I try using cmd e.g. in folder inc:
D:\OxygenBasic\inc>d:\oxygenbasic\co2.exe corewin.inc

I will get this message:
error: file empty or not found: corewin.inc.o2bas

I assume .o2bas is required because of the new -32, -64 option. It is not a real problem because I can rename / copy the .inc files for testing with Oxygen. Are there extensions that are allowed next to .o2bas?

Roland


Title: Re: Allowed file extensions for compiling?
Post by: Charles Pegge on September 28, 2019, 06:55:04 AM
Hi Roland,

co2 checks for bas or o2bas.

You can, of course, include corewin.inc, or any file with a customised extension name in an o2bas file.