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 Professional Discussion / DBP langauge - can i place langauge anywhere?

Author
Message
Andrew
22
Years of Service
User Offline
Joined: 23rd Aug 2003
Location: United Kindom (what makes it important?)
Posted: 12th Sep 2003 00:58
Hi quick question, can i put the language in any order, i mean like you know that sync command, can i place that down the botton and it will still work.
So basically can i place like load object at the top, middle or bottom of my langague and it will still load like normal.
Or does it have to be in a certain area?

Do you understand what I'm saying???
CattleRustler
Retired Moderator
22
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 12th Sep 2003 01:02
as far as sync, it is generally accepted to have it as the last command in your main loop:

Do
.........
.......
....whatever.....
....
sync
loop

-RUST-
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 12th Sep 2003 01:10
@Andrew: Basically you can place any command anywhere you like. The exceptions are of course the matched-pairs of while/endwhile, if/else/endif, do/loop etc.

I have written code that had several syncs dotted around throughout the code coz it was the easiest way to do what I wanted to do at the time ... ask TCA, he has a copy
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 12th Sep 2003 01:21
I might, if I knew what your thinking of - are you talking about the network code ?


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 12th Sep 2003 01:23
Yep
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 12th Sep 2003 01:27
Ah - well if he asks, he will receive...


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 12th Sep 2003 01:36
Oh, congrats on the status change too

When did the user level description appear?
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 12th Sep 2003 01:37
Thanks. It changed today sometime - probably after 6pm.


Avatar & Logo by Indi. Come to the UK DBPro Convention in Chichester
Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 12th Sep 2003 02:13
No doubt Lee's user status will be "42"

Mattman
23
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 12th Sep 2003 02:15
I thought about that today, was gonna e-mail Rich and remind him Then i saw it was fixed when i went to see if TCA was a mod yet

Got a knack for finding secrets??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios
"hey, it's tomorrow" --- Hamish

Login to post a reply

Server time is: 2026-07-23 15:48:56
Your offset time is: 2026-07-23 15:48:56