summaryrefslogtreecommitdiffstats
path: root/src/examples/doWhileStatement.ft
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/doWhileStatement.ft')
-rw-r--r--src/examples/doWhileStatement.ft8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/examples/doWhileStatement.ft b/src/examples/doWhileStatement.ft
new file mode 100644
index 0000000..a8aa096
--- /dev/null
+++ b/src/examples/doWhileStatement.ft
@@ -0,0 +1,8 @@
+program doWhileStatement
+int::i
+i=0
+do while(i<=10)
+print*,i
+i=i+1
+end do
+end program doWhileStatement \ No newline at end of file