diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-08-20 11:17:05 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-08-20 11:17:05 +0200 |
commit | 965f8bf85d7850be074bad735d815b15a85a3de0 (patch) | |
tree | 915cb183c943c503c4b4a561679b7edc2e4a2938 /chaincond.lang | |
parent | 694ec05bcad01fd27606aace73b49cdade16945e (diff) |
Second
Diffstat (limited to 'chaincond.lang')
-rw-r--r-- | chaincond.lang | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chaincond.lang b/chaincond.lang new file mode 100644 index 0000000..542cae9 --- /dev/null +++ b/chaincond.lang @@ -0,0 +1,14 @@ +func int main() { + int a := 0; + if (a == 0) { + a = 1; + } else { + a = 2; + } + if (a > 0) { + a = 10; + } else { + a = 20; + } + return a; +}
\ No newline at end of file |