diff options
author | AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> | 2021-11-06 16:40:12 +0000 |
---|---|---|
committer | AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> | 2021-11-06 16:40:12 +0000 |
commit | d3046e3b1481cf6d190b8fcb814985e29852b5eb (patch) | |
tree | 0f0f966c017a09c74f032253bb6c4df400ee50df /src/example.txt | |
parent | 0c54d7f8cb4b17d80ed21f7a9916ad27a13e34ed (diff) | |
download | esotericFORTRAN-d3046e3b1481cf6d190b8fcb814985e29852b5eb.tar.gz esotericFORTRAN-d3046e3b1481cf6d190b8fcb814985e29852b5eb.zip |
Working if/else statements (very basic and unstable)
Diffstat (limited to 'src/example.txt')
-rw-r--r-- | src/example.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/example.txt b/src/example.txt index a9202e5..94a8091 100644 --- a/src/example.txt +++ b/src/example.txt @@ -1,4 +1,8 @@ var :: a a=5 -a=a+1 +if a<2 then +a=a+5 +else +a=a-3 +endif print a |