1 страниц (8 вхождений)
ERROR - "Action could not be performed with text." - ??? - ERROR - "Action could not be performed with text." - Сообщения
#1 Опубликовано: 02.03.2016 15:21:36
When generating a matrix from a previous (working) user defined function in SMath, it was giving the results that I was expecting, until I did "something" (I have no idea what) and I started getting the following error message:
"Action could not be performed with text."

(Strongback - Error.sm, attached)
Trying to troubleshoot it, I made a copy of the file (Strongback - Test.sm, attached) and all I think I did was change some of the input values to some smaller/clearer numbers. And it was working fine, without errors.

Can anyone point out what I might have done to generate there error?...Thanks!
I am currently running SMath ver. 0.97 (build: 5890) for windows.
Файл не найден.Файл не найден.
"Action could not be performed with text."
(Strongback - Error.sm, attached)
Trying to troubleshoot it, I made a copy of the file (Strongback - Test.sm, attached) and all I think I did was change some of the input values to some smaller/clearer numbers. And it was working fine, without errors.
Can anyone point out what I might have done to generate there error?...Thanks!
I am currently running SMath ver. 0.97 (build: 5890) for windows.
Файл не найден.Файл не найден.
#2 Опубликовано: 02.03.2016 15:47:46
Hellojusthumm,
el(M2m,0) simply doesn't exists, matrices and vectors in SMath are base-1 (1, 2, 3, ...); the error message is wrong (something in the priority of the exceptions, probably).
you can check yourself M2(46) using the "none" optimization, is "not defined"+"not defined", since those strings are output of your functions M2.DL(u) and M2.p(u). You have to define in a better way your function or handle differently the output.
el(M2m,0) simply doesn't exists, matrices and vectors in SMath are base-1 (1, 2, 3, ...); the error message is wrong (something in the priority of the exceptions, probably).
you can check yourself M2(46) using the "none" optimization, is "not defined"+"not defined", since those strings are output of your functions M2.DL(u) and M2.p(u). You have to define in a better way your function or handle differently the output.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Опубликовано: 02.03.2016 17:25:19
Davide:
Thank you very much for your response.
I had been (incorrectly) under the assumption that the matrices were base-0. And I had not noticed that my user functions were not evaluating as I had expected at the limits. I was assuming that M2.DL(46) = 0 and not the "not defined" value that it was actually returning.
For my own future reference, do you have any idea why the "if...(46-ft = L2)" statement is returning FALSE and going to the final "else" statement? I switched around the Optimization setting (which I am not real familiar with) for those functions, but it didn't seem to have any effect.
Thanks.

I had taken the "not defined" line from another forum post...
https://smath.com/wiki/(S(atscma45awgrr5ixiehfsb45))/Graphs.ashx
Thank you very much for your response.
I had been (incorrectly) under the assumption that the matrices were base-0. And I had not noticed that my user functions were not evaluating as I had expected at the limits. I was assuming that M2.DL(46) = 0 and not the "not defined" value that it was actually returning.
For my own future reference, do you have any idea why the "if...(46-ft = L2)" statement is returning FALSE and going to the final "else" statement? I switched around the Optimization setting (which I am not real familiar with) for those functions, but it didn't seem to have any effect.
Thanks.
I had taken the "not defined" line from another forum post...
https://smath.com/wiki/(S(atscma45awgrr5ixiehfsb45))/Graphs.ashx
#4 Опубликовано: 02.03.2016 20:03:04
You're welcome,
Don't worry, it happens.
I suspect is a bug (opened as issue SS-2300)
Until is not clarified, don't use booleans with units (use L2/ft)
WroteI had been (incorrectly) under the assumption that the matrices were base-0. And I had not noticed that my user functions were not evaluating as I had expected at the limits. I was assuming that M2.DL(46) = 0 and not the "not defined" value that it was actually returning.
Don't worry, it happens.

WroteFor my own future reference, do you have any idea why the "if...(46-ft = L2)" statement is returning FALSE and going to the final "else" statement? I switched around the Optimization setting (which I am not real familiar with) for those functions, but it didn't seem to have any effect.
I suspect is a bug (opened as issue SS-2300)
Until is not clarified, don't use booleans with units (use L2/ft)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
justhumm 03.03.2016 10:37:00
#5 Опубликовано: 03.03.2016 10:36:53
#6 Опубликовано: 03.03.2016 11:34:20
And just to note this down, when working with "IF" statements and BOOLEAN conditions in SMath, is seems better...
...to use ( a <= b ) AND ( b <= c ) structure
INSTEAD of ( a <= b <= c )

https://smath.com/wiki/(S(a3wyc5jalhq4v1ftjqepdo2l))/Print.aspx?Page=if
...to use ( a <= b ) AND ( b <= c ) structure
INSTEAD of ( a <= b <= c )
https://smath.com/wiki/(S(a3wyc5jalhq4v1ftjqepdo2l))/Print.aspx?Page=if
#7 Опубликовано: 03.03.2016 12:14:03
1 пользователям понравился этот пост
Davide Carpi 03.03.2016 13:34:00
#8 Опубликовано: 03.03.2016 16:00:41
the plugin was included in Custom Functions
sergio
sergio
1 пользователям понравился этот пост
Davide Carpi 03.03.2016 16:29:00
1 страниц (8 вхождений)
-
Новые сообщения
-
Нет новых сообщений