aboutsummaryrefslogtreecommitdiff
path: root/chaincond.lang
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-08-20 11:17:05 +0200
committertomsmeding <tom.smeding@gmail.com>2017-08-20 11:17:05 +0200
commit965f8bf85d7850be074bad735d815b15a85a3de0 (patch)
tree915cb183c943c503c4b4a561679b7edc2e4a2938 /chaincond.lang
parent694ec05bcad01fd27606aace73b49cdade16945e (diff)
Second
Diffstat (limited to 'chaincond.lang')
-rw-r--r--chaincond.lang14
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