Author Topic: tutorial for beginners?  (Read 2070 times)

0 Members and 2 Guests are viewing this topic.

edcronos

  • Guest
tutorial for beginners?
« on: December 10, 2017, 11:14:20 AM »
time to commit to the implementation and use of Oxygen
I'll be honest, I'm a little lost to start using Oxygen
Is ide the Oxide.exe?
  Do you have to do anything before you start using it?
I had problems with the examples themselves with "#include"
I looked in the forum but everything is mixed, do you have some step-by-step tutorial for beginners?

Charles Pegge

  • Guest
Re: tutorial for beginners?
« Reply #1 on: December 11, 2017, 02:45:37 PM »
Tutorials are yet to be written. The next step is for me to stop experimenting and commit to a beta phase for OxygenBasic.

Oxide is the current IDE, replacing the generic Scite in earlier versions. But you can also use notepad.exe to edit .o2bas scripts, and then run them by double-clicking on their icons. This is made possible when you associate .o2bas filetypes with gxo2.exe (Oxygen's primary compiler). Oxygen does not use any registry keys or file path configuration.

I will be updating Oxygen on GitHub very shortly. The trend is towards a smaller oxygen.dll, and greater simplicity

Skeleton 32bit DLL maker:
Code: [Select]
%filename "t.dll"
%dll
uses RTL32
extern export

function hello(name as string)
  print"Hello "  name
end function



edcronos

  • Guest
Re: tutorial for beginners?
« Reply #2 on: December 11, 2017, 03:19:52 PM »
thank you for your attention

JRS

  • Guest
Re: tutorial for beginners?
« Reply #3 on: December 11, 2017, 03:32:00 PM »
Charles,

Will these changes have any affect on DLLC?

John

Charles Pegge

  • Guest
Re: tutorial for beginners?
« Reply #4 on: December 11, 2017, 08:42:00 PM »
A few minor changes, John. Good point.

replacing the include, includepath statements (not mandatory)
Code: [Select]
  uses RTL32
  uses sbo2util

Also, any functions defined (nested) inside other functions must now be moved outside, or converted to macros.

So if you have made any additions or modifications to DLLC, please let me have a copy to become the standard update.

JRS

  • Guest
Re: tutorial for beginners?
« Reply #5 on: December 12, 2017, 08:09:04 AM »
I have made no changes to your DLLC extension module.

Aurel

  • Guest
Re: tutorial for beginners?
« Reply #6 on: December 13, 2017, 04:55:54 AM »
Quote
The next step is for me to stop experimenting and commit to a beta phase for OxygenBasic.

I am always for that ,as you know I dont like to much experiments which purpose
is not very clear.
Infact those experiment give me to much troubles with my header files. ::)
...and because of that awinh.inc is still on ice

Arnold

  • Guest
Re: tutorial for beginners?
« Reply #7 on: December 13, 2017, 08:22:25 AM »
From my point of view I think tutorials can wait. There is a search function on the right top of the forum and I use this function all the time. You can get very much information by reading the messages.

The first thing I learned is that Oxygenbasic is similar to Freebasic and Powerbasic and even C.  Due to some time limit I have no real experience with Scriptbasic, Thinbasic or FSBL until now. But there is enough information if I compare the docs of these languages with Oxygenbasic's HelpFile.

And I can't help: there are so many examples provided with Oxygenbasic and I can learn so much from them and experiment a little bit. You will not find so many samples included e.g. with Freebasic or Powerbasic, so you have to ask in a forum too or explore some user contributed applications (if there exists a source code).

Probably I learned most by asking some questions in the forum and getting help from Charles, Mike and John. And most of the time I find an answer by searching in Internet. Therefore tutorials might be useful at the beginning, but I think a beta release of Oxygenbasic should have priority.

Roland

Aurel

  • Guest
Re: tutorial for beginners?
« Reply #8 on: December 13, 2017, 11:49:39 AM »
..and not from me ....well i am angry now  ;D

edcronos

  • Guest
Re: tutorial for beginners?
« Reply #9 on: December 13, 2017, 12:06:55 PM »
it is certain that a stable final version is much more important.
neither can tse mount a tutorial without this
but it is also an important part of encouraging the use
I am doing searches in the forum and also seeing the examples, but often it gets somewhat confusing and the information is very scattered and not always detailed

JRS

  • Guest
Re: tutorial for beginners?
« Reply #10 on: December 13, 2017, 05:25:24 PM »
As dedicated as Charles is to perfecting the language, someone needs to have the same passion for documenting it.