diff options
Diffstat (limited to 'red.html.markdown')
-rw-r--r-- | red.html.markdown | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/red.html.markdown b/red.html.markdown index b0165693..f91b324b 100644 --- a/red.html.markdown +++ b/red.html.markdown @@ -42,9 +42,10 @@ comment { ; forbidden, because that is how hexadecimal numbers are expressed in Red and ; Red/System. -; assign a value to a variable using a colon ':' +; assign a value to a variable using a colon ":" my-name: "Red" -reason-for-using-the-colon: {This makes the equality sign '=' exclusively usable for comparisons purposes, thus speeding up the original Rebol interpreter.} +reason-for-using-the-colon: {Assigning values using the colon makes the equality sign "=" exclusively usable for comparisons purposes, exactly what "=" was intended for in the first place! Remember this y = x + 1 and x = 1 => y = 2 stuff from school? +} is-this-name-valid?: true ; print output using print, or prin for printing without a newline or linefeed at the ; end of the printed text. |