Jump to content

Conditional structures: Difference between revisions

→‎{{header|Lua}}: add Luna language
(→‎{{header|Lua}}: add Luna language)
Line 2,707:
 
cases[key]() --equivalent to dothis(), dothat(), or dotheother() respectively</lang>
 
=={{header|Luna}}==
 
===if-then-else===
<lang luna>if char == "<" then Prepend "<" acc else acc</lang>
''(source: [https://github.com/luna/luna/issues/125#issuecomment-365683922 github/luna #125])''
 
=={{header|Make}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.