Open guidoBenvenuto opened 3 months ago
Sorry, I didn't notice this clear explanation in the manual (pages 4-5, Introduction):
One final point: The TO command in Logo has always been a special case; the rest of the line starting with TO is not evaluated as ordinary Logo expressions are. In particular, the colons used to mark the names of inputs to the procedure do not cause THING to be invoked. They are merely mnemonic aids, reminding the Logo user that these words are names of variables. ... Berkeley Logo therefore makes the colons optional: TO FOO :IN1 :IN2 and TO FOO IN1 IN2 are both allowed.
Yours Guido Gay
In the manual section "8.1 Procedure Definition", optional inputs are represented by the following notation:
[:inputname default.value.expression]
The following notation is on the other side valid:
[inputname default.value.expression]
as can be seen in the following example:
I wonder if this alternative notation could be explainded in the manual. Yours Guido Gay