Author Topic: How To Get Started With OxygenBasic?  (Read 3206 times)

0 Members and 1 Guest are viewing this topic.

Offline Frederick J. Harris

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 942
    • Frederick J. Harris
How To Get Started With OxygenBasic?
« on: January 18, 2013, 11:16:28 PM »
Hi Charles!

     Just downloaded the latest Oxygen Basic and unzipped it.  I'm not sure how to get started.  I see gxo2.exe and exo2.exe, which I assume are the compilers?  How would I go about compiling?  Are there command line switches or do I just execute one of those two files with the name of one of your examples as a command line argument?  Sorry if you have this info somewhere and I missed it.

Fred

Offline Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 704
    • Charles Pegge
Re: How To Get Started With OxygenBasic?
« Reply #1 on: January 19, 2013, 01:50:33 AM »
Hi Fred,

The easiest way to start is to fire up Scite and load an example. Press F5 to compile and run. It uses the GXO2 compiler. (EXO2 is for command line compiling/execution.)

I rarely use an IDE myself. What I normally do is compile&run programs directly from the source script. This is done by associating .o2bas files with running gxo2.exe (right click and select properties). Then you can double click on any o2bas file to run it directly without producing an exe file.

The simplest program you can run is:

Print "Hello World!"

Bed time :)
Charles

PS: I recommend the Oxygen-in-progress version for the latest developments
« Last Edit: January 19, 2013, 01:59:04 AM by Charles Pegge »

Offline Theo Gottwald

  • Administrator
  • Hero Member
  • *****
  • Posts: 966
    • it-berater
Re: How To Get Started With OxygenBasic?
« Reply #2 on: January 19, 2013, 08:38:18 AM »
Charles, this looks like it needs to be streamlined for new users.
I know this point. As programmers we love to add "advanced features" that could impress other programmers.
However to increase the total user base, the opposite direction is also needed:
to simplify as much as possible.

Offline Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 704
    • Charles Pegge
Re: How To Get Started With OxygenBasic?
« Reply #3 on: January 19, 2013, 10:04:03 AM »
Agreed, Theo. Those were developer instructions. For general distribution there will be an installer  (Inno?) and only one IDE at the front end. We are still in the play-pen.


Offline Frederick J. Harris

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 942
    • Frederick J. Harris
Re: How To Get Started With OxygenBasic?
« Reply #4 on: January 21, 2013, 12:38:09 AM »
Thanks Charles.  I gt it working.  I should have looked under the Tools menu.

Fred