summaryrefslogtreecommitdiffstats
path: root/src/example.txt
diff options
context:
space:
mode:
authorAidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com>2021-11-07 22:35:33 +0000
committerAidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com>2021-11-07 22:35:33 +0000
commit975fb6f000918085d1f5ba4ac6eb95c60411dae9 (patch)
tree8dab2d0447e9e2dca9dc1b06d42d5331d55c4547 /src/example.txt
parentf8b888716211b78900db62ede497fa4ac2100c00 (diff)
downloadesotericFORTRAN-975fb6f000918085d1f5ba4ac6eb95c60411dae9.tar.gz
esotericFORTRAN-975fb6f000918085d1f5ba4ac6eb95c60411dae9.zip
Added support for strings and improved print statement syntax
Diffstat (limited to 'src/example.txt')
-rw-r--r--src/example.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/example.txt b/src/example.txt
index 886e85c..8e10c72 100644
--- a/src/example.txt
+++ b/src/example.txt
@@ -1,6 +1,6 @@
-real :: a
-a=6
-if a>2 then
-a=a+0.5
+character (len=10)::hello
+hello="hello"
+if 5==5 then
+hello="goodbye "
endif
-print a
+print *,hello,6," test" endprint \ No newline at end of file