You are not logged in.

Dear visitor, welcome to 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.


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 bredenfeld

Posts: 1,834

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message


Wednesday, February 29th 2012, 2:16pm

Using another if inside an if is and. Using another if in series is or.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter ::


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


Thursday, March 1st 2012, 5:42pm


one thread would be enough,

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

best regards,