Oxygen Basic
Programming => Example Code => Topic started by: Peter on September 16, 2011, 11:09:01 AM
-
Deleted
-
Nice fun game.
-
I finally won in one of your games Peter :) I guess playing a lot helps.
-
Thanks Peter.
Corrections needed so this will run with present and future Oxygen:
FourWins.bas line 722
to ensure a procedure does not look like a label
WinEnd: ExitProcess 0
WinEnd : ExitProcess 0
Window.h line 506
to ensure a procedure does not look like a label
WinEnd: ExitProcess 0
WinEnd : ExitProcess 0
Window.h line 481
to pass the address of a string literal to a 'long' type
wc.lpszClassName = "Oxygen"
wc.lpszClassName = @"Oxygen"
Charles
-
Uff i don't know there is a lot of changes and this is a process ,we must
understand this things ,i understand because i have my own small language
and i know all problems connected with that things.
However i use 032 version and most things works ok.
About GUI i found in oxygen src this:
#include once "windows.bi"
maby this binary couse problems with wndclassex .
just guessing nothing else ;)
With all this problems i think that Charles doing great job :)
-
Peter,
Past errors and syntax ambiguities have to be corrected. If you encounter obscure errors, please show me. I do not recommend using older versions, especially in the alpha phase, where there are potential memory leaks and other hidden problems.
Charles
-
Heh Peter is a ' joke-er' man like always but you cannot compare something
like pure interpreter written in basic with compiler. :)
-
Peter,
Those changes were necessary for the broad spectrum of coding styles. They were not done on a whim or for idealogical reasons, and certainly not to annoy Peter.
with those three alterations (2 spaces and an '@' :) ), I FourWins will compile into an independent Exe using RTL32.inc
$FileName "FourWins.exe"
Include "RTL32.inc"
...
Charles
The zip below requires the fMedia folder
-
I FourWins will compile into an independent Exe using RTL32.inc
Hey that is great ;)
Charles which version of oxygen u use for this?
-
Hi Aurel,
Using the Oxygen in-progress version, shortly to be released as A037.
Charles