programming syntax problem

programming syntax problem - 消息

#1 已发布: 2013/3/18 09:03:42
dan

dan

0个赞,共4个帖子。

组: 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 已发布: 2013/3/18 10:37:23
kilele

kilele

134个赞,共397个帖子。

组: 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位用户喜欢此帖子
dan 2013/3/22 15:23:00
  • 有新帖
  • 无新帖