Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / define keyword grrr

Author
Message
fatmanfat
21
Years of Service
User Offline
Joined: 24th Jun 2003
Location:
Posted: 29th Jun 2003 22:49
dark edit's define keyword

am i missing something here or does it not replace the defines within arrays

define ANIM_START, 1

dim animTable(10, 3)
animTable(0, ANIM_START) = 0

doesn't work because it leaves the ANIM_START in the code and it becomes a variable with value 0.

This is very stupid... It makes the defines almost worthless

or am i missing something here.
Kanzure
22
Years of Service
User Offline
Joined: 19th Feb 2003
Location:
Posted: 29th Jun 2003 23:11
I didn't know DarkBASIC reconizged comma's in commands. Thats prolly your problem.

~Morph
Owner of MultiCode.NET and Multi2k.NET.
Nothing is something, and something is then nothing. Life is an illusion.

Login to post a reply

Server time is: 2025-05-19 08:17:57
Your offset time is: 2025-05-19 08:17:57