IonicWind Software

IWBasic => General Questions => Topic started by: J B Wood (Zumwalt) on December 06, 2006, 06:30:12 PM

Title: Just an observation.
Post by: J B Wood (Zumwalt) on December 06, 2006, 06:30:12 PM
EBasic is rather simple once you dig into it.
Haven't gotten to stuck yet in anything I am doing, great job Paul!
Soon as I figure out these pointers, I'll be all set :)
Title: Re: Just an observation.
Post by: Ionic Wind Support Team on December 06, 2006, 07:21:49 PM
The pointers in Emergence BASIC are not quite as advance as they are in Aurora.  In general pointers in Emergence are untyped, equivelent to VOID pointers in C and require either telling the compiler what type they point to through typecasting, or by using the SETTYPE command.  There are two different pointer dereference operators in Emergence.  The # and the *.  The documentation explains the differences.

Paul.
Title: Re: Just an observation.
Post by: ExMember001 on December 06, 2006, 08:08:02 PM
Quote from: Paul Turley on December 06, 2006, 07:21:49 PM
The pointers in Emergence BASIC are not quite as advance as they are in Aurora.  In general pointers in Emergence are untyped, equivelent to VOID pointers in C and require either telling the compiler what type they point to through typecasting, or by using the SETTYPE command.  There are two different pointer dereference operators in Emergence.  The # and the *.  The documentation explains the differences.

Paul.

yep, pointer in Aurora are easyer to use than pointers in Ebasic... into trying to figure some Aurora code to Ebasic and its not easy sometimes ;)
Title: Re: Just an observation.
Post by: J B Wood (Zumwalt) on December 06, 2006, 08:27:44 PM
Well, my entire Flying Invaders game is filled with pointers and CPointerLists, so I am in for an overhaul.
I've already got the code migrated into EBasic and modified most of it to fit the EBasic structure layout, now its just a matter of the pointers and lists, then its done.