Re: print ambiguity

Paul Prescod <[email protected]>
Newsgroups gmane.comp.lang.prothon.user
Message-ID <[email protected]>
Mark Hahn wrote:

> 2) If we decide it always means a variable we would have to type "print()"
> to print a blank line and the console could be used as always.

print ""

would also work.

>...
> This solution will mean that a variable on a line by itself in a script,
> which used to be a harmless non-operation, will now cause an exception
> saying that the variable is not a valid command.

That's probably won't hurt anything.

Either 2 or 3 is fine with me.

  Paul Prescod
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.