summaryrefslogtreecommitdiffhomepage
path: root/red.html.markdown
diff options
context:
space:
mode:
authorPeter Lewerin <peter.lewerin@tele2.se>2018-11-26 09:56:09 +0100
committerGitHub <noreply@github.com>2018-11-26 09:56:09 +0100
commit7522161aecbca946c15127cb0dd7d556a4a48f33 (patch)
treeffa0899b09537d251084588b41684c01626067ed /red.html.markdown
parent63ab96e72a704175133901657bfc52fb9b45d132 (diff)
Update red.html.markdown
Diffstat (limited to 'red.html.markdown')
-rw-r--r--red.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/red.html.markdown b/red.html.markdown
index 9cf6c31d..74538bd7 100644
--- a/red.html.markdown
+++ b/red.html.markdown
@@ -129,8 +129,8 @@ i1 / i2 ; result 0 (0.5, but truncated towards 0)
; Control Structures
;
; if
-; Evaluate a block of code if a given condition is true. IF does not return
-; any value, so cannot be used in an expression.
+; Evaluate a block of code if a given condition is true. IF returns
+; the resulting value of the block or 'none' if the condition was false.
if a < 0 [print "a is negative"]
; either