programming syntax problem

programming syntax problem - Messages

#1 Posted: 3/18/2013 9:03:42 AM
dan

dan

0 likes in 4 posts.

Group: 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 Posted: 3/18/2013 10:37:23 AM
kilele

kilele

133 likes in 397 posts.

Group: 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 users liked this post
dan 3/22/2013 3:23:00 PM
  • New Posts New Posts
  • No New Posts No New Posts