DB,Blitz, OOP, And Syntaxes...

Miscellaneous Forums/General Discussion/DB,Blitz, OOP, And Syntaxes...

JohnJ... yes, it did bother me... but, my lil OOP system in DB makes the number thing an abstraction... i never wind up using numbers...

and example...

i have a GAME_ENGINE type and a GAME_OBJECT type...
one of the fields in GAME_ENGINE is ObjectCount...

whenever a new object is created, it fetches the next available ObjectCount (integer) and assigns it to whatever i am creating... and ObjectCount is incremented for the next new GAME_OBJECT...

therefore... i can write my code like this now...

myMustang As INTEGER
myMustang=CreateCar("c:\models\mustang.x)


the object number is now referenced by the integer var myMustang, and i never have to deal with object numbers...

--Mike