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 Paolo83  
#1 Posted : 21 January 2010 15:13:07(UTC)
Paolo83

Rank: Newbie

Groups: Registered
Joined: 21/01/2010(UTC)
Posts: 5
Location: Milano

Hallo!
I have a little problem...
I imput an equantion like letters (that it are specitied before in the program)
(ex. A:=b*c)
and when I ask the results the program say that the number is to large, but,
if I write the same equation without the variable definition, just to have the
number directly (ex. b*c=), the program works...

tank you!

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

Offline Andrey Ivashov  
#2 Posted : 21 January 2010 18:45:15(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Hello Paolo.

Please, can you provide more details about this problem? F.e. file that you work with.
Offline Paolo83  
#3 Posted : 21 January 2010 20:50:12(UTC)
Paolo83

Rank: Newbie

Groups: Registered
Joined: 21/01/2010(UTC)
Posts: 5
Location: Milano

Yes! if you want I can give you the file, but I don't have your mail.
Offline Andrey Ivashov  
#4 Posted : 21 January 2010 21:27:10(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
E-mail you can find in the About Dialog of SMath Studio, it looks like: support [at] smath [dot] info but much more pretty Good
Offline Paolo83  
#5 Posted : 21 January 2010 22:02:43(UTC)
Paolo83

Rank: Newbie

Groups: Registered
Joined: 21/01/2010(UTC)
Posts: 5
Location: Milano

I have send an e-mail to you just now.

Thanks!
Offline Andrey Ivashov  
#6 Posted : 22 January 2010 16:04:34(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Thank you. I've checked your file and figured out the problem.

This happens because in L0 large and complex expression stored. To fix an error you should just use eval(..) function for L0 before using it. Here you can find more about eval(..) function:
- http://smath.info/wiki/(S(3pgwxdbc0eaary552kcqsr3o))/eval.ashx
- http://en.smath.info/forum/default.aspx?g=posts&m=1030#post1030

As a solution for your problem I recommend to go this way:
L0←eval(if(L0x>L0y;L0x;L0y))

Best regards.
Offline Paolo83  
#7 Posted : 22 January 2010 16:49:16(UTC)
Paolo83

Rank: Newbie

Groups: Registered
Joined: 21/01/2010(UTC)
Posts: 5
Location: Milano

Ah! OK!! take you very much! ^_^
Users browsing this topic
Guest
Similar Topics
Arcade Games Improve Reflexes And Muscle Memory -gameeurope.com (Samples)
by te86ll001 08/04/2022 04:52:11(UTC)
Arcade Games Improve Reflexes And Muscle Memory (Features announcements)
by hunian161 06/04/2022 07:36:33(UTC)
Calculation Memory, Tube Heat Exchanger and Compact Shell (Samples)
by Valentino 03/08/2021 12:56:17(UTC)
Memory problem (Bugs & Problems)
by mkraska 01/07/2012 16:25:23(UTC)
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.