Azer0s / HadesLang

The Hades Programming Language
https://hadeslang.gitbook.io/doc
MIT License
36 stars 2 forks source link

Implement else #59

Closed Azer0s closed 7 years ago

Azer0s commented 7 years ago
case[false]
    out:'hi'
endcase
out:'ayy'
else
    out:'hello'
endelse

Output: ayy hello

case[true]
    out:'hi'
endcase
out:'ayy'
else
    out:'hello'
endelse

Output: hi ayy