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 / weird code help

Author
Message
Sepultura
22
Years of Service
User Offline
Joined: 7th Mar 2003
Location:
Posted: 8th Mar 2003 04:39
whats wrond with this code??

andrew11
22
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 8th Mar 2003 04:55
What do you want it to do?

"All programmers are playwrights and all computers are lousy actors."
-Anon.
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 8th Mar 2003 05:39
if you're trying to move the camera (?), then look...you have no code to actually move the camera. You need the code something like



to move it

Darken the skies, we are god
Sepultura
22
Years of Service
User Offline
Joined: 7th Mar 2003
Location:
Posted: 8th Mar 2003 07:05
opps well if u copy the code directly then run it on my computer it has an error something about the array i dont know what causing it as i havnt got anything about it

Sepultura
22
Years of Service
User Offline
Joined: 7th Mar 2003
Location:
Posted: 8th Mar 2003 07:06
error - no such array dimentions specifide at line 10

Electron
22
Years of Service
User Offline
Joined: 28th Feb 2003
Location: United Kingdom
Posted: 8th Mar 2003 14:56
dim 100(21,17)

If you don't work for it, how do you expect to get it?
Electron
22
Years of Service
User Offline
Joined: 28th Feb 2003
Location: United Kingdom
Posted: 8th Mar 2003 14:58
you can't use a pure number as the array name only a combination of letters and numbers

e.g. dim _100(21,17)
dim a100(21,17)

If you don't work for it, how do you expect to get it?
Sepultura
22
Years of Service
User Offline
Joined: 7th Mar 2003
Location:
Posted: 8th Mar 2003 15:30
thx i figurd it out just as u posted

Login to post a reply

Server time is: 2025-08-08 20:40:15
Your offset time is: 2025-08-08 20:40:15