memory

memory - 消息

#1 已发布: 2010/1/21 09:13:07
Paolo83

Paolo83

0个赞,共5个帖子。

组: User

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!
#2 已发布: 2010/1/21 12:45:15
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

Hello Paolo.

Please, can you provide more details about this problem? F.e. file that you work with.
#3 已发布: 2010/1/21 14:50:12
Paolo83

Paolo83

0个赞,共5个帖子。

组: User

Yes! if you want I can give you the file, but I don't have your mail.
#4 已发布: 2010/1/21 15:27:10
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

E-mail you can find in the About Dialog of SMath Studio, it looks like: support [at] smath [dot] info but much more pretty
#5 已发布: 2010/1/21 16:02:43
Paolo83

Paolo83

0个赞,共5个帖子。

组: User

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

Thanks!
#6 已发布: 2010/1/22 10:04:34
Andrey Ivashov

Andrey Ivashov

2,344个赞,共4,057个帖子。

组: Super Administrator

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:
- https://smath.com/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:
[MATH]L0←eval(if(L0x>L0y;L0x;L0y))[/MATH]

Best regards.
#7 已发布: 2010/1/22 10:49:16
Paolo83

Paolo83

0个赞,共5个帖子。

组: User

Ah! OK!! take you very much! ^_^
  • 有新帖
  • 无新帖