2
  1. When I type l: 1 2, I get back list of 1,2. But when I type string: a b, why I get back `assign?

  2. What does ` sign does in Q? What is its significance?

Thomas Smyth - Treliant
  • 4,993
  • 6
  • 25
  • 36
Munish
  • 21
  • 3
  • 2
    "Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. **Avoid asking multiple distinct questions at once.**" – Tamás Sengel Oct 14 '17 at 19:51

1 Answers1

1

When I type string: a b, why do I get back `assign?

The "assign" error means an "attempt to redefine a reserved word". See Runtime Errors. For the list of reserved words, see Reserved Words.

What does ` sign do in Q?

A back tick ` followed by a series of characters represents a symbol. For more details, see Symbols.

Note that q distinguishes between the back tick, ` and the single quote, '. When prints an error, it uses a single quote. For other uses, see Case.

Alexander Belopolsky
  • 2,228
  • 10
  • 26