mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Update red.html.markdown
minor edits
This commit is contained in:
parent
2793e0bd48
commit
026dcf7b2f
@ -23,9 +23,10 @@ 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
|
||||
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 block of brackets can be filled in with useful information about the script or program, the author,
|
||||
the filename, 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 []
|
||||
@ -35,9 +36,7 @@ Red []
|
||||
print "Hello Red World" ; this is another comment
|
||||
|
||||
comment {
|
||||
This is a
|
||||
multiline
|
||||
comment.
|
||||
This is a multiline comment.
|
||||
You just saw the Red version of the "Hello World" program.
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user