From 1942efe3c45c87ef4f1c73d6078ff6487b820b53 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Fri, 2 Sep 2022 16:57:07 +0100 Subject: Private only makes sense for global variables Also make error reporting slightly better on statements. --- language.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'language.md') diff --git a/language.md b/language.md index 2440cc7..ec0a425 100644 --- a/language.md +++ b/language.md @@ -74,7 +74,7 @@ p; # whatever byte is in address 0x8000 (peek) p = 0; # byte at 0x8000 is now 0 (poke) ``` -Variables are exported by default, unless they are defined as private: +Global variables are exported by default, unless they are defined as private: ``` private val local: u8 = 123; ``` -- cgit v1.2.3