Bitten by whitespace?

This is rather strange:

When Logged On begins:
	say "event began";

	Now the command prompt is ":: ";
	if current_setting of the camera is:
		-- "B": 
			say "bbb";
		-- "C":
			say "ccc";
	end.

The above fails because of the blank line(!) after the first ‘say’. (I checked for control chars, etc., but no joy)
When I remove the blank line, it works.
Is this by design? Are there other such sensitive constructions? I like to use whitespace to enhance readability, so I hope there’s a workaround. I’ve not found anything in the docs yet.

1 Like

Yes.

Yes.

Me too!

Not unless you count using [] as a comment as a workaround.

2 Likes