Skip to content

Queries re: A short introduction to Red for Python programmers #4955

Discussion options

You must be logged in to vote

Thank you for the feedback!

  1. I added the #"^(20AC)" example as you suggested.
  2. Red uses straight quotes to delimit strings. The curly quotes were artefacts from editing the text in MS Word – I changed them to straight ones.
  3. As @greggirwin already answered, "..." is for single line strings only, whereas {...} can be used for either single and multi line strings.
  4. If by '() you meant a quoted list as seen in LISP languages – yes, it is equivalent to Red blocks, since they are not evaluated by default. There is no '() syntax in Red.
  5. I added an example for quote for parens, it was not clear what I meant.
  6. @greggirwin answered
  7. There is a whole section in the document describing functions. Datatypes

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mark-summerfield
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #4954 on September 04, 2021 07:41.