Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline dan  
#1 Posted : 18 March 2013 16:03:42(UTC)
dan

Rank: Newbie

Groups: Registered
Joined: 14/03/2013(UTC)
Posts: 4
Romania
Location: Cluj Napoca

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.

Edited by user 18 March 2013 16:06:34(UTC)  | Reason: Not specified

dan attached the following image(s):
Capture.JPG

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline kilele  
#2 Posted : 18 March 2013 17:37:23(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Hi, this discussion about "local variables and functions" might be of help
http://en.smath.info/for...tly-in-0-9.aspx#post5930

Edit:
just put b.wall after the while loop

Edited by user 19 March 2013 21:32:18(UTC)  | Reason: Not specified

thanks 1 user thanked kilele for this useful post.
on 22/03/2013(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.