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.

Newcomers DBPro Corner / Two more questions

Author
Message
Oneka
20
Years of Service
User Offline
Joined: 24th Apr 2004
Location: Hampton,VA
Posted: 9th May 2004 01:55
Whats wrong with that code it says couldnt end nest line something like that
and Is it possible to create a temporary variable in the middle of a code?
like for example in my old language it would be done like so
Attack()
var/Damage = Strength / 2

A 1 man team
comando 300
20
Years of Service
User Offline
Joined: 23rd Nov 2003
Location:
Posted: 9th May 2004 02:00
I think cuz you are using double equal sign ('=') and second you have to use endif for each "if" statement


if rand1to3# = 1
LOOP MUSIC 1
if rand1to3# = 2
LOOP MUSIC 2
if rand1t03# = 3
LOOP MUSIC 3
endif
endif
endif

CURRENT PROJECT: RETRO PAC-MAN

Login to post a reply

Server time is: 2024-09-22 08:26:55
Your offset time is: 2024-09-22 08:26:55