summaryrefslogtreecommitdiffhomepage
path: root/red.html.markdown
diff options
context:
space:
mode:
authoriArnold <arnoldvanh@gmail.com>2014-01-30 09:32:58 +0100
committeriArnold <arnoldvanh@gmail.com>2014-01-30 09:32:58 +0100
commit2793e0bd48afdf809923ac0bf461fb4153f120ad (patch)
tree10946a860858974deb6287ea410f6a7dae08800e /red.html.markdown
parentade0d072c00f68175dae50395e7d045e566c1a55 (diff)
Update red.html.markdown
Added header info and completed Hello World program with the header.
Diffstat (limited to 'red.html.markdown')
-rw-r--r--red.html.markdown11
1 files changed, 9 insertions, 2 deletions
diff --git a/red.html.markdown b/red.html.markdown
index f277dd64..6e31eee9 100644
--- a/red.html.markdown
+++ b/red.html.markdown
@@ -23,15 +23,22 @@ from any platform to any other platform. And it will do this all from a binary e
Ready to learn your first Red?
```Red
+All text before the Red header will be treated as comment
+The Red header is the word "Red" followed by a whitespace character followed by a block of square brackets [].
+The block of brackets can be filled in with useful information about the script or program, the author, the version, the license, what the program does or needs.
+The Red/System header is just like the Red header, only saying "Red/System" and not "Red".
+
+Red []
;this is a commented line
-print "hello world" ; this is another comment
+print "Hello Red World" ; this is another comment
comment {
This is a
multiline
- comment
+ comment.
+ You just saw the Red version of the "Hello World" program.
}
; Your program's entry point is the first executable code that is found