aboutsummaryrefslogtreecommitdiff
path: root/tour/variables.sloth
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-03-30 02:44:54 -0500
committerCody <cody@codyq.dev>2023-03-30 02:44:54 -0500
commit2970520a9592b5c6d45291f54073552a474b71b4 (patch)
treef42ecc1be0989367cf7c70d0b7909bac0b86904e /tour/variables.sloth
parentbb95375f8b24141bf7dfe5a8b1bba5c995f61253 (diff)
downloadsloth-2970520a9592b5c6d45291f54073552a474b71b4.tar.gz
Restructure
Diffstat (limited to 'tour/variables.sloth')
-rw-r--r--tour/variables.sloth16
1 files changed, 0 insertions, 16 deletions
diff --git a/tour/variables.sloth b/tour/variables.sloth
deleted file mode 100644
index c3a9137..0000000
--- a/tour/variables.sloth
+++ /dev/null
@@ -1,16 +0,0 @@
-# Variables can be declared using the `var` keyword, however they will be mutable.
-# If you would like to make the variable immutable you can use `val`
-#
-# Variables can not be exported and can not be referrenced accross modules.
-var x = 0;
-val y = 0;
-
-x = 5; # Valid
-y = 5; # Invalid
-
-# Constants can be declared using the `const` keyword, unlike variables they can
-# be exported and accessed across modules.
-const FPS = 60;
-
-pub const WIDTH = 5;
-pub const HEIGHT = 17;