From 975fb6f000918085d1f5ba4ac6eb95c60411dae9 Mon Sep 17 00:00:00 2001 From: AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> Date: Sun, 7 Nov 2021 22:35:33 +0000 Subject: Added support for strings and improved print statement syntax --- src/example.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/example.txt') diff --git a/src/example.txt b/src/example.txt index 886e85c..8e10c72 100644 --- a/src/example.txt +++ b/src/example.txt @@ -1,6 +1,6 @@ -real :: a -a=6 -if a>2 then -a=a+0.5 +character (len=10)::hello +hello="hello" +if 5==5 then +hello="goodbye " endif -print a +print *,hello,6," test" endprint \ No newline at end of file -- cgit v1.2.3