From 286e177e603d57d445393a0f4899bf7a17a4c31d Mon Sep 17 00:00:00 2001 From: AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> Date: Wed, 17 Nov 2021 03:03:00 +0000 Subject: Added Do statements and code blocks --- src/example.txt | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'src/example.txt') 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 -- cgit v1.2.3