You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, February 29th 2012, 12:30pm

AND, OR etc. in if-conditions?

maybe i missed somthing, but i didn't find any possibility to implement logical AND or OR statements in a if-condition.

if this really isn't exisiting in krpano, it would be a nice and handy new feature which makes programming tours easier, especially when they're created for flash and html5, where a lot of things need to be switched.

thomas
----------------------------------
thomas bredenfeld

http://panoramabuch.com
http://bredenfeld.com

sachagriffin

Professional

Posts: 1,419

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Wednesday, February 29th 2012, 2:16pm

Using another if inside an if is and. Using another if in series is or.
KRPano Developer: Portfolio :: Facebook :: Twitter

3

Wednesday, February 29th 2012, 2:34pm

of course this is viable (i'm doing it just this way now), but if you're used to do coding in other languages it would be nice to have similar mechanisms here ;-)

would be good for more efficient and readable code...
----------------------------------
thomas bredenfeld

http://panoramabuch.com
http://bredenfeld.com

4

Thursday, March 1st 2012, 5:42pm

Hi,

one thread would be enough,

please see here:
AND, OR etc. in if-conditions?

best regards,
Klaus