How to say comments

Help Contents First Steps In Logo How to say comments
How to say variables Built-in instructions

How to say comments

Comments, or remarks, are a way to talk to yourself while talking to Logo. Usually your comments serve as reminders for you, and thus, they are completely ignored by Logo.

You can write whatever you like in your comments. There are no rule to keep up with except one - Logo must understand where your comments start and end.

There are two types of comments in Logo - short and long. Short comments start with the word
	;
and continue till the end of the line.
	make "b :a+1	; next check number
Long comments start with the word
	{
and end with the word
	}
. They are called long, because the can start in one line, and end in another.

Long comments can host other long comments, so whenever you use { you must later say }.
	{ This code calculates the
	   average of three numbers }
	make "m (:a+:b+:c)/3

How to say variables Built-in instructions