- Aer Version (or commit ref):
- Operating System: Linux
- System Architecture (eg. arm, x86_64, ...): x86_64
Your problem description
Aer actually supports an alternative syntax for control structures: namely, if, while, for, foreach, and switch. In each case, the basic form of the alternate syntax is to change the opening brace to a colon (:) and the closing brace to endif;, endwhile;, endfor;, endforeach;, or endswitch;, respectively. This so-called template syntax is unnecessary in Aer.