Oxygen Basic
Programming => Problems & Solutions => Topic started by: Peter on February 02, 2016, 07:03:45 AM
-
Hi Charles,
I got an odd thing with gxo2.exe. Is your last gxo2.exe.
.
-
Hi Peter,
Is it displaying the correct filepath?
Should be no problem running on different drives.
-
Is it displaying the correct filepath?
Yes, absolutely.
-
Normally D: is the CD drive.
Are you sure you are looking on the right drive?
-
Are you sure you are looking on the right drive?
Sure, my CD drive is E!
D is another harddrive in my computer
-
It varies on MS desktops
My DVD drive is F:
E is a data partition
D G..L are USB disks etc.
-
Hi Peter,
maybe you are using SciTE? SciTE does not work correctly any more since some o2 editions. Oxygen.properties in folder IDE worked with me with Oxygenbasic of Febrary 2015. Most of the time I use PSPAD so I did not realize the difference.
I was successful with these changes in \IDE\Oxygen.properties:
##
# OXYGEN TOOLS
#
# COMPILE
basco=$(SciteDefaultHome)\gxo2 -c "$(FileNameExt)"
#
# BUILD
basbo=$(SciteDefaultHome)\co2 -a -c -m "$(FileNameExt)"
# RUN FROM SOURCE
basgo=$(SciteDefaultHome)\gxo2 "$(FilePath)"
#
# CONTEXT HELP
basho=hh.exe "$(SciteDefaultHome)\inf\oxygen_help.chm::/wordlink.htm#$(CurrentWord)"
#
For BUILD I use co2 because -a and -i are disabled with gxo2.exe
The difference is removing the quotes from the first argument of COMPILE, BUILD, RUN.
I tried calling gxo2.exe and .o2bas file in different ways in a console window but everything works ok. Do you call gxo2.exe from a batch file?
Roland
-
Do you call gxo2.exe from a batch file?
Hi Arnold,
No, I do not call it from a batch file, I only press F5!
Of course, I am using Scite, it's free. ;D