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 / Confused with camera exist command..

Author
Message
marlou
15
Years of Service
User Offline
Joined: 17th Jan 2009
Location:
Posted: 21st Feb 2009 12:00
Im getting confused with camera exist command. My program gives me opposite of what I expect. When I expect it to not exist, it tells me that it exists. Please enlighten me. hehehe



Output shows that uncreated cameras exist..It showed that created cameras dont exist as shown by camera exist().



It does not result to a runtime error even if camera is made again..Instead it results to error if changed to camera exist(2)==0

When a person has nothing but a dream, can he dare to dream.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 21st Feb 2009 13:01
That code doesn't compile for me - the reason is those double equals. This is Basic, not C or C++, so you only need one of them.



Login to post a reply

Server time is: 2024-11-25 10:59:31
Your offset time is: 2024-11-25 10:59:31