From ee57c9f711eb645e7e641041e0b087aaad08de95 Mon Sep 17 00:00:00 2001 From: Sandy Brownlee Date: Fri, 19 Aug 2022 15:00:32 +0100 Subject: [PATCH] added assignments example --- programs/assignments.tri | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 programs/assignments.tri diff --git a/programs/assignments.tri b/programs/assignments.tri new file mode 100644 index 0000000..64791f2 --- /dev/null +++ b/programs/assignments.tri @@ -0,0 +1,8 @@ +let + var n : Integer; + var c : Char +in + begin + c := '&'; + n := n + 1 + end