OT: Programming languages (was Re: Auxlangs (was Re: "Esperanto V.2"))
From: | Philip Newton <philip.newton@...> |
Date: | Tuesday, March 28, 2006, 6:56 |
This has nothing to do with auxlangs any more, right?
On 3/27/06, Benct Philip Jonsson <bpj@...> wrote:
> taliesin the storyteller skrev:
>
> > Can't help myself - in Python that would be 'print "Hello, world!"', not
> > even needing to explain a semicolon or a line shift :)
>
> Does this mean that each statement has to be on a single
> physical line in Python?
No -- you can continue a statement onto the next line as long as
either (a) there is an unclosed parenthesis (, bracket [, or brace {
in the current statement; or (b) you put a backslash \ at the end of
the line.
Cheers,
--
Philip Newton <philip.newton@...>