diff options
author | AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> | 2021-12-09 02:30:57 +0000 |
---|---|---|
committer | AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> | 2021-12-09 02:30:57 +0000 |
commit | 13c44054b21d26782e98a52e9a114250ab8307ff (patch) | |
tree | 8426476b4daeee01b85cc3f414d04335dbf0a87d /src/examples/doWhileStatement.ft | |
parent | 560a48eebf4f74ae1a21d5cfbb3b55477d7c1356 (diff) | |
download | esotericFORTRAN-13c44054b21d26782e98a52e9a114250ab8307ff.tar.gz esotericFORTRAN-13c44054b21d26782e98a52e9a114250ab8307ff.zip |
Added example program of each main feature
Diffstat (limited to 'src/examples/doWhileStatement.ft')
-rw-r--r-- | src/examples/doWhileStatement.ft | 8 |
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 |