Thanks everyone for your support and suggestions. Now I know that there are multiple ways of doing this task. It seems to me that the simplest way to do it is by using state machine. Thanks again guys!
In reply to Re^2: Print multiple lines based on condition
by syedasadali95
in thread Print multiple lines based on condition
by syedasadali95
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |