Red Language Notebook

Learning to program in Red

AN IMPROVED AND MORE COMPLETE VERSION OF THIS WORK MAY BE FOUND AT HELPIN.RED !


Ungaretti

Last update - nov. 2017

A collection of topics that may interest those who know the basics of programming and want to have a head start on the Red programming language.

Notes on this notebook:

  • I use Windows, so all my notes are based on this Operating System.
  • I'm not an experienced programmer and English is not my native language.
  • It is not a complete reference for the Red language (yet?). So far, I've skipped some features that I think would not be immediately useful to a beginner.
  • If you find mistakes or have suggestions, please, create a discussion using the + that shows at the right side of a page when you pass the cursor over the text, or post it at gitter/red/welcome using @ungaretti.
  • I find that syntax highlighting makes learning Red a lot easier, but Gitbook md format does not have an easy-to-use text coloring tool, so I used mostly images of code. No cut-and-paste, sorry.
  • I did not use proper coding style in most examples. My fault, I hope to improve it. Please, take a look at Red's coding style guide.
  • Some text was copied and pasted from Red's documentation and a few lines from red-by-example.org. I hope that's ok.
  • I based (not copied) quite a few examples on code I found on mycode4fun.co.uk, by Alan Brack, and redprogramming.com, by Nick Antonaccio.
  • If I can't find something on the existing Red Documents, there is always www.rebol.com.

Changes log:

  • jan 27 2018 - 1) Added comments about compiling problems and the use of-e compiling option at " Hello world - run & compile" chapter. 2) Added this log.

  • mar 3 2018 - Corrected a mistaken concept about copying variables in the "Notes on syntax" chapter.

  • mar 17 2018 - Added an example for on-close event.

  • mar 25 2018 - A pretty decent chapter on PARSE was created.

  • mar 29 2018 - Added a line about the use of "needs: view " in GUI - Overview.

results matching ""

    No results matching ""