programming syntax problem

programming syntax problem - Poruke

#1 Objavljeno: 18. 3. 2013. 09:03:42
dan

dan

0 svidjanja u 4 postova.

Grupa: User

Hi,
this might be a stupid question, but here it goes:

i am trying to increment a value while a given expression is false.
used to just saying something like i++ for that, but i don't know the language sMath is based on.

i am getting an error :"output value must be defined for the called procedure"
the example is attached.

ty for you're help.
Capture.JPG
#2 Objavljeno: 18. 3. 2013. 10:37:23
kilele

kilele

134 svidjanja u 397 postova.

Grupa: User

Hi, this discussion about "local variables and functions" might be of help
http://en.smath.info/forum/yaf_postsm5930_Functions-behave-differently-in-0-9.aspx#post5930

Edit:
just put b.wall after the while loop
1 korisnika je svidelo ovu objavu
dan 22. 3. 2013. 15:23:00
  • Novi postovi
  • Nema novih postova