diff options
author | AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> | 2021-11-17 03:03:00 +0000 |
---|---|---|
committer | AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> | 2021-11-17 03:03:00 +0000 |
commit | 286e177e603d57d445393a0f4899bf7a17a4c31d (patch) | |
tree | f140d65931ee648a77c806380be1e39e27440caf /src/example.txt | |
parent | b51dfd0763e27b01e73803b07c7994a6fd835bef (diff) | |
download | esotericFORTRAN-286e177e603d57d445393a0f4899bf7a17a4c31d.tar.gz esotericFORTRAN-286e177e603d57d445393a0f4899bf7a17a4c31d.zip |
Added Do statements and code blocks
Diffstat (limited to 'src/example.txt')
-rw-r--r-- | src/example.txt | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/src/example.txt b/src/example.txt index 8e10c72..eb453b2 100644 --- a/src/example.txt +++ b/src/example.txt @@ -1,6 +1,13 @@ -character (len=10)::hello -hello="hello" -if 5==5 then -hello="goodbye " -endif -print *,hello,6," test" endprint
\ No newline at end of file +int ::temp +int::a +int::b +int::i +a=1 +b=1 +i=0 +do i=0,10 +print*,a," " endprint +temp =a+b +a=b +b=temp +end do
\ No newline at end of file |