From d90dcc79ad4fbe596b2449d7f6d686dc40aef398 Mon Sep 17 00:00:00 2001 From: Pagwin Date: Wed, 15 Jan 2025 15:50:42 -0500 Subject: [PATCH] fixed minor mistakes in universal tutorial --- posts/universal_proc_tut.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/posts/universal_proc_tut.md b/posts/universal_proc_tut.md index c82daea..29bb2ce 100644 --- a/posts/universal_proc_tut.md +++ b/posts/universal_proc_tut.md @@ -25,7 +25,7 @@ someNum ← 5 "Sidenote: when I have a statement that can take multiple lines of code" "I'll surround those lines with curly brackets, also when I need to make" "a comment which is intended to do nothing to the code like this it'll be" -"a free floating string(s) which nothing is done with like this" +"a bunch of free floating string(s) where nothing is done with like this" IF someNum = 5 { DISPLAY("someNum is indeed 5") } @@ -60,15 +60,15 @@ i <- 0 dataSet = [] WHILE i < 50 { dataSet[i] <- i + 1 + + "We need to keep adding 1 to i so the loop doesn't run forever" + i <- i + 1 } "both loops below will display all the values in the list in the var dataSet" i <- 0 WHILE i < 50 { DISPLAY(dataSet[i]) - "August 2024 pagwin here, just realized I" - "also forgot this for the other while loop" - "if you saw this article prior to March 2024" - "I forgot to include the line below sorry about that." + i <- i + 1 } FOREACH n <- dataSet {