summaryrefslogtreecommitdiffstats
path: root/src/example.txt
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2021-11-22 18:46:42 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2021-11-22 18:46:42 +0000
commitde5022e778c12a8b91b905473f2f74bf7172eac3 (patch)
tree4f16f1cb0b6b75c0e8975bb77f432071684e57ed /src/example.txt
parent6557b7b080abab676cc15774bb4b4428e776cd03 (diff)
parent424ac34886895756525fbf5ddd704976e2e7d7dc (diff)
downloadesotericFORTRAN-de5022e778c12a8b91b905473f2f74bf7172eac3.tar.gz
esotericFORTRAN-de5022e778c12a8b91b905473f2f74bf7172eac3.zip
Merge branch 'main' of https://github.com/AlfieEagleton/EsotericProject into argparse
Diffstat (limited to 'src/example.txt')
-rw-r--r--src/example.txt19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/example.txt b/src/example.txt
index bbc8973..55236c1 100644
--- a/src/example.txt
+++ b/src/example.txt
@@ -1,9 +1,12 @@
-int::nfact
int::n
-nfact=1
-n=1
-do while(n<10)
-nfact=nfact*n
-n=n+1
-print*,n," ", nfact endprint
-end do \ No newline at end of file
+int::a
+int::b
+int::temp
+a=0
+b=2
+if (a==0.and.b==1) then
+print*,"true"
+else
+print*,"false"
+end if
+