Nesting if and ifnot

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
kdtrog
Junior Coder
Posts: 43
Joined: Wed Mar 28, 2007 9:36 am

Nesting if and ifnot

Post by kdtrog » Tue Apr 02, 2013 12:58 pm

I tried to code nested "if" and "ifnot" blocks. It seems that MS is confused by interpreting this.

Code: Select all

let>m=1

if>m=0
  ifnot>n=1
    let>o=done
  endif
  ifnot>p=1
    let>o=notdone
  endif
else
  let>o=notatall
endif

This code will end up in a loop

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Apr 03, 2013 3:09 pm

You are correct. We'll have this fixed asap.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts