From c285bf758365107af78ce9a99c7f0d1e1f52421f Mon Sep 17 00:00:00 2001 From: iArnold Date: Thu, 30 Jan 2014 10:33:19 +0100 Subject: [PATCH] Update red.html.markdown completed function twice example --- red.html.markdown | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/red.html.markdown b/red.html.markdown index 43fe03a6..55251e4e 100644 --- a/red.html.markdown +++ b/red.html.markdown @@ -185,17 +185,18 @@ twice: function [a [integer!] /one return: [integer!]][ a: a * c either one [a + 1][a] ] - +b: 3 +print twice b ; will output 6. ; Import external files with #include and filenames start with a % sign #include %includefile.red - +; Now the functions in the included file can be used too. ``` ## Further Reading -The main source for information about Red is [the Red language homepage](http://www.red-lang.org). +The main source for information about Red is the [Red language homepage](http://www.red-lang.org). The Red/System language specification can be found [here](http://static.red-lang.org/red-system-specs-light.html).