Question #295520 on Yade changed:
https://answers.launchpad.net/yade/+question/295520

Jérôme Duriez posted a new comment:
Hi,

The YADE terminal interface conforms Python language syntax rules
(because YADE terminal is python, we could say). One of such rules is
that indentation (how many spaces / tabulations appear at the beginning
of a line) does matter, with function definitions, or "if" blocks being
defined by indentation.

Here, the correct indentation of the above script has been lost during 
copy/paste, leading to an erroneous python (or YADE) script. 
You just have to correct it, which gives you a nice opportunity to familiarize 
yourself with python/YADE ;-) .

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to