diff options
| author | AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> | 2021-11-07 01:23:19 +0000 |
|---|---|---|
| committer | AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> | 2021-11-07 01:23:19 +0000 |
| commit | f8b888716211b78900db62ede497fa4ac2100c00 (patch) | |
| tree | 3ea66c732de6abb95b10e708d0ab33651cb6b327 /src/example.txt | |
| parent | d3046e3b1481cf6d190b8fcb814985e29852b5eb (diff) | |
| download | esotericFORTRAN-f8b888716211b78900db62ede497fa4ac2100c00.tar.gz esotericFORTRAN-f8b888716211b78900db62ede497fa4ac2100c00.zip | |
Basic floating point support and small improvements to error handing
Diffstat (limited to 'src/example.txt')
| -rw-r--r-- | src/example.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/example.txt b/src/example.txt index 94a8091..886e85c 100644 --- a/src/example.txt +++ b/src/example.txt @@ -1,8 +1,6 @@ -var :: a -a=5 -if a<2 then -a=a+5 -else -a=a-3 +real :: a +a=6 +if a>2 then +a=a+0.5 endif print a |
