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 / why doesnt this work?

Author
Message
Xytor
20
Years of Service
User Offline
Joined: 1st Sep 2004
Location: nyc
Posted: 3rd Sep 2004 02:17 Edited at: 3rd Sep 2004 02:32
do
T=T+1
Print T
if(T>200){
T=0}
loop

i want it to continuously print from 1-200, then start over again, but it doesnt work..
the compiler says the 4th line

my site http://strike.insurrection-games.com
DONT try to email me, it will go to junk. to contact me, simply message me in aim or msn. Msn: Borman500@msn.com Aim: Xytor500
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 3rd Sep 2004 02:38 Edited at: 3rd Sep 2004 02:39
No braces {} in basic and there needs to be a space after IF.



Or



Xytor
20
Years of Service
User Offline
Joined: 1st Sep 2004
Location: nyc
Posted: 3rd Sep 2004 02:47
Im changing this post to:
Teach myself DBP with the help of you guys!

anyway, how do you make an array, and how to access elements with a variable?
also, how to make object classes and functions?
(or a

my site http://strike.insurrection-games.com
DONT try to email me, it will go to junk. to contact me, simply message me in aim or msn. Msn: Borman500@msn.com Aim: Xytor500
Xytor
20
Years of Service
User Offline
Joined: 1st Sep 2004
Location: nyc
Posted: 3rd Sep 2004 02:47
Im changing this post to:
Teach myself DBP with the help of you guys!

anyway, how do you make an array, and how to access elements with a variable?
also, how to make object classes and functions?
(or am

my site http://strike.insurrection-games.com
DONT try to email me, it will go to junk. to contact me, simply message me in aim or msn. Msn: Borman500@msn.com Aim: Xytor500
Xytor
20
Years of Service
User Offline
Joined: 1st Sep 2004
Location: nyc
Posted: 3rd Sep 2004 02:47
Im changing this post to:
Teach myself DBP with the help of you guys!

anyway, how do you make an array, and how to access elements with a variable?
also, how to make object classes and functions?
(or am i

my site http://strike.insurrection-games.com
DONT try to email me, it will go to junk. to contact me, simply message me in aim or msn. Msn: Borman500@msn.com Aim: Xytor500
Xytor
20
Years of Service
User Offline
Joined: 1st Sep 2004
Location: nyc
Posted: 3rd Sep 2004 02:47
Im changing this post to:
Teach myself DBP with the help of you guys!

anyway, how do you make an array, and how to access elements with a variable?
also, how to make object classes and functions?
(or am i approaching

my site http://strike.insurrection-games.com
DONT try to email me, it will go to junk. to contact me, simply message me in aim or msn. Msn: Borman500@msn.com Aim: Xytor500
Xytor
20
Years of Service
User Offline
Joined: 1st Sep 2004
Location: nyc
Posted: 3rd Sep 2004 02:47
Im changing this post to:
Teach myself DBP with the help of you guys!

anyway, how do you make an array, and how to access elements with a variable?
also, how to make object classes and functions?
(or am i approaching this

my site http://strike.insurrection-games.com
DONT try to email me, it will go to junk. to contact me, simply message me in aim or msn. Msn: Borman500@msn.com Aim: Xytor500
Xytor
20
Years of Service
User Offline
Joined: 1st Sep 2004
Location: nyc
Posted: 3rd Sep 2004 02:48 Edited at: 3rd Sep 2004 02:52
Im changing this post to:
Teach myself DBP with the help of you guys!

anyway, how do you make an array, and how to access elements with a variable?
also, how to make object classes and functions?
(or am i approaching this the wrong way?)

my site http://strike.insurrection-games.com
DONT try to email me, it will go to junk. to contact me, simply message me in aim or msn. Msn: Borman500@msn.com Aim: Xytor500
Xytor
20
Years of Service
User Offline
Joined: 1st Sep 2004
Location: nyc
Posted: 3rd Sep 2004 02:49
WHAT THE HELL!?!? MODERATOR DELETE ALL MY EXTRA POSTS PLZ!

my site http://strike.insurrection-games.com
DONT try to email me, it will go to junk. to contact me, simply message me in aim or msn. Msn: Borman500@msn.com Aim: Xytor500
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 3rd Sep 2004 06:06 Edited at: 3rd Sep 2004 06:07
Have you read this tut? I think it covers most of the basics.
http://forum.thegamecreators.com/?m=forum_view&t=25076&b=7
Also there is a bit of info in the dbpro help files. Start the help and click Principles.

Also darkbasic is not object oriented. There are no classes or object functions.

Login to post a reply

Server time is: 2024-09-22 23:23:55
Your offset time is: 2024-09-22 23:23:55