Inverted syntax: Difference between revisions
add Ada
(add Ada) |
|||
Line 23:
The task is to demonstrate support for inverted syntax forms within the language by showing both the traditional and inverted forms.
=={{header|Ada}}==
The only place where syntax is kind of inverted is <code>exit when</code> to exit loops:
<lang Ada>Foo := 1;
loop
exit when Foo = 10;
Foo := Foo + 1;
end loop;</lang>
=={{header|Bracmat}}==
|