PDA

View Full Version : How many if..then....endif statements can go inside another if..then...endif loop?



Megahertz
- 28th July 2011, 15:40
How many if..then statements can go inside another if..then...endif loop?
Thanks

mackrackit
- 28th July 2011, 16:10
I think the only limit is the MCU's memory.

mister_e
- 28th July 2011, 16:23
OR you computer screen if you use lots of indentation :p

THere's no limit, it doesn't use stack. Go crazy, and happy nesting !