|
From: Humbel O. <Otm...@bi...> - 2001-02-20 14:31:53
|
Hello Eli, you can use the backslash (\), e.g. like this: >>> b = 1 >>> if b: ... print "hello \ world !" ... hello world ! >>> Best wishes, Oti. > -----Original Message----- > From: Eliahu Rosenblum [mailto:pa...@su...] > Sent: Tuesday, February 20, 2001 2:52 PM > To: jyt...@li... > Subject: [Jython-dev] Next line > > > Hi! > > How can pass to next line in multi-line construct. > The following text from tutorial states that I can, but it > doesn't explaint > how I can do it: > > Continuation lines are needed when entering a multi-line > construct. As an > example, take a look at this if statement: > > >>> the_world_is_flat = 1 > >>> if the_world_is_flat: > ... print "Be careful not to fall off!" > ... > Be careful not to fall off! > > > > May be there is a key list in Jythom docs? > Or I must to read source code of Jythom to find this info? > > Eli. > > > _______________________________________________ > Jython-dev mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-dev > |