diff options
author | iArnold <arnoldvanh@gmail.com> | 2014-01-29 21:27:53 +0100 |
---|---|---|
committer | iArnold <arnoldvanh@gmail.com> | 2014-01-29 21:27:53 +0100 |
commit | 22ebe9a9b4d474341882aee8cbc82f63119e42e0 (patch) | |
tree | 59a425a3e31268e3db36b1960a9e4e26a37ad2ff /red.html.markdown | |
parent | d1376f0152f96073dd9ce754e3fac3ae2a89da69 (diff) |
Update red.html.markdown
Equality sign means equal
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. |