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 / Checking commands works before using them

Author
Message
Oliver
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: Switzerland
Posted: 17th Oct 2003 23:14
Well basically I want to know what happens if you use a command like fog on when fog is not supported by the computer. I'm just curious because I've seen people using...

if fog available()=1 then fog on

...and was wondering if i need to test if a command will work before using it, Thanks!
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 17th Oct 2003 23:17
Some will just be ignored, but some will crash your program ... basically, if there's a way to check then it's best to do so
Oliver
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: Switzerland
Posted: 17th Oct 2003 23:43
Ok, thanks

Login to post a reply

Server time is: 2024-09-21 06:48:09
Your offset time is: 2024-09-21 06:48:09