From 7d1d18e2e2b10c5725685d17e72f7cc0e40d5a1f Mon Sep 17 00:00:00 2001 From: Kaiser <54066349+Ihre-Kaiserliche-Hoheit@users.noreply.github.com> Date: Thu, 16 Dec 2021 11:59:13 +0100 Subject: [PATCH] Update animal.sm --- sm-test-files/animals-example/animal.sm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sm-test-files/animals-example/animal.sm b/sm-test-files/animals-example/animal.sm index 9bc5858..f82341c 100644 --- a/sm-test-files/animals-example/animal.sm +++ b/sm-test-files/animals-example/animal.sm @@ -2,7 +2,8 @@ && '++name declares an abstract class && all of that is, of course, a statement so ¡! -'++animal ( + +&<='++animal ( && +}}type{{ declares a property of a class && "+}}type{{ declares a static property of a class @@ -14,7 +15,7 @@ ¡<=/"Created animal named " + name\!; && +var refers to a property, like this. in other languages - && you can only assign values to static variables once in this language + && you can only assign values to static variables once in this language ¡+name < name!; ¡+speed < speed!; )