[IronPython] Using blocks separators instead of indentation
joe at notcharles.ca
Tue Aug 14 05:30:14 CEST 2007
On 8/13/07, Ori <oorrii at gmail.com> wrote:
> OK I got the point. I have to use several statements in a single line.
> For exmpale, something like:
> i = 1; if (i >=1): i = 0
> is there a way to do it? Is there a replacement to the newline char?
Why does it have to be in a single line? Just put it on two lines.
If you're storing it in a data file or something, just embed \n and \t's in
it to represent newlines and indentation levels. Escape it somehow if you
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users