Author Topic: SourceCode  (Read 3504 times)

0 Members and 1 Guest are viewing this topic.

Peter

  • Guest
SourceCode
« on: September 16, 2011, 11:09:01 AM »
Deleted
« Last Edit: April 11, 2015, 09:57:42 AM by Peter »

kryton9

  • Guest
Re: SourceCode
« Reply #1 on: September 16, 2011, 03:40:03 PM »
Nice fun game.

kryton9

  • Guest
Re: SourceCode
« Reply #2 on: September 16, 2011, 06:53:25 PM »
I finally won in one of your games Peter :)  I guess playing a lot helps.

Charles Pegge

  • Guest
Re: SourceCode
« Reply #3 on: September 17, 2011, 01:01:17 AM »

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

Aurel

  • Guest
Re: SourceCode
« Reply #4 on: September 17, 2011, 03:46:50 AM »
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 :)

Charles Pegge

  • Guest
Re: SourceCode
« Reply #5 on: September 17, 2011, 05:44:00 AM »

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
 

Aurel

  • Guest
Re: SourceCode
« Reply #6 on: September 17, 2011, 07:04:32 AM »
Heh Peter is a ' joke-er' man like always but you cannot compare something
like pure interpreter written in basic with compiler. :)

Charles Pegge

  • Guest
Re: SourceCode
« Reply #7 on: September 17, 2011, 08:50:02 AM »
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

Code: OxygenBasic
  1. $FileName "FourWins.exe"
  2. Include "RTL32.inc"
  3. ...
  4.  


Charles

The zip below requires the fMedia folder
« Last Edit: September 17, 2011, 09:14:53 AM by Charles Pegge »

Aurel

  • Guest
Re: SourceCode
« Reply #8 on: September 17, 2011, 09:31:31 AM »
Quote
I FourWins will compile into an independent Exe using RTL32.inc
Hey that is great  ;)
Charles which version of oxygen u use for this?

Charles Pegge

  • Guest
Re: SourceCode
« Reply #9 on: September 17, 2011, 12:37:55 PM »
Hi Aurel,

Using the Oxygen in-progress version, shortly to be released as A037.

Charles