nesting of if else statments

subot.robot

New Member
Hi ,
Is it possible to nest if else statements as below in MPasm (MPLab)?

if condition1?
action1
else if condition2?
action2
else if condition3?
action3
else
action4
endif
endif
endif
 
Just be aware though, this isn't programming the PIC, it's only assembler directives! - I've seen a LOT of users expecting assembler directives to produce code, and they don't!.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…