02-05-2025, 06:09 PM
(This post was last modified: 02-05-2025, 06:13 PM by Charles Pegge.)
The code gets fully compiled but is run directly in memory instead of loading an EXE (PE) file. This feature is not intended for finished apps to commercial customers.
A simple progam:
This is all you need to run in JIT mode.
To compile to an exe or DLL. Your source code would look like this:
To make a DLL:
Extract the file and place it wherever convenient. To run .o2bas files JIT, open 'properties' for any o2bas file and configure opens with:
co2.exe
Apart from this, no further configuration is needed.
OxygenBasic.zip can be downloaded from Github. @ My signature below.
A simple progam:
Code:
print "Hello World!"
To compile to an exe or DLL. Your source code would look like this:
Code:
$ filename "t.exe"
uses RTL32 ' or RTL64
print "Hello World!"
To make a DLL:
Code:
$ DLL
$ filename "t.exe"
uses RTL32 ' or RTL64
function hello() export
print "Hello World!"
end function
Extract the file and place it wherever convenient. To run .o2bas files JIT, open 'properties' for any o2bas file and configure opens with:
co2.exe
Apart from this, no further configuration is needed.
OxygenBasic.zip can be downloaded from Github. @ My signature below.
https://github.com/Charles-Pegge/OxygenBasic
https://forum.it-berater.org/index.php
https://forum.it-berater.org/index.php