Basic input bug?

Basic input bug? - Parameter not defined - 消息

#1 已发布: 2020/10/11 13:30:26
Jan Claeys

Jan Claeys

2个赞,共25个帖子。

组: User

Dear all,

I use SMath for quite some time now, however I have a very basic question about an input issue that annoys me from time to time.
This is probably the most basic question ever asked on this forum ;-)

When I make a new calculation sheet with the following input, I always get the error "parameter a2 not defined":

a.1:=2m (subscripted variables are used here)
a.2:=3m
a.1+a.2=error

I get this error every time in this specific case, the input happens fast as I'm used to the input procedure.
The TAB-key has been used for confirmation, but for the unit input (m) as for the variable input (a.1 & a.2).

When I save the above file containing the error and reopen it, a.2 is depicted as a2 so without the subscript.
Which mechanism could be at the source of the above behaviour?

Thanks in advance for any feedback!

Kind regards from a true SMath-fan,

Jan Claeys (Belgium)
1位用户喜欢此帖子
Andrey Ivashov 2020/10/12 03:57:00
#2 已发布: 2020/10/11 16:06:51
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

I experienced the same issue myself several times (both in desktop and android app versions), although I've not yet found a clear way to reproduce it.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 已发布: 2020/10/11 16:41:09
Jan Claeys

Jan Claeys

2个赞,共25个帖子。

组: User

Good evening Davide,
Thank you for your swift reaction!
Hopefully, the programming team can pinpoint the exact mechanism behind so that user safisfaction can be increased. If I could, I would resolve the issue myself but my programming skills are insufficient I'm afraid...
SMath is really a beautiful tool and it's popularity will undoubtly further increase.
Kind regards,
Jan
#4 已发布: 2020/10/11 17:37:01
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

When I save the above file containing the error


File missing ... since which Smath version ?
Subscript not recognized may have to do with the keyboard style.
#5 已发布: 2020/10/11 18:06:22
Jan Claeys

Jan Claeys

2个赞,共25个帖子。

组: User

Hello Jean,
I didn't attach a file since the issue is so straight forward. I could attach a file Tomorrow?
Since I can perform the input as I want, the keyboard used doesn't seem to be the problem here? The problem has to do with the way parameters are stored and recalled in the program itself? Maybe a compatibility issue with certain extensions?
This problem really grasped my attention in the 3 most recent versions, but is probably much longer present.
Kind regards,
Jan
#6 已发布: 2020/10/11 19:48:08
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

I didn't attach a file since the issue is so straight forward. I could attach a file Tomorrow?


File not needed because NO bug SS 6179

SubscriptNObug.PNG

#7 已发布: 2020/10/12 03:52:56
Martin_B

Martin_B

22个赞,共84个帖子。

组: User

I use the german settings, which means comma as decimal symbol and semicolon as argument separator.

Sometimes I opened a file and was wondering about the unexpected results in the sheet. Then I found that the last entered decimal symbol, somewhere at a definition, was lost. Maybe that's the same issue.
But I didn't find a regularity.
#8 已发布: 2020/10/12 04:00:54
Andrey Ivashov

Andrey Ivashov

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

组: Super Administrator

Hello [USERLINK]janclaeys[/USERLINK].

Thank you for the report. I will try to analyze a code to see what could cause this issue. First impression is that it is something related to multi-threading.
Thanks all for details!

Best regards.
1位用户喜欢此帖子
janclaeys 2020/10/12 15:22:00
#9 已发布: 2020/10/12 07:30:52
NDTM Amarasekera

NDTM Amarasekera

130个赞,共352个帖子。

组: User

Wrote


a.1:=2m (subscripted variables are used here)
a.2:=3m
a.1 a.2=error



No errors found.

subscript_ok.png
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#10 已发布: 2020/10/12 08:01:53
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Hello Jean,
I didn't attach a file since the issue is so straight forward. I could attach a file Tomorrow?
Since I can perform the input as I want, the keyboard used doesn't seem to be the problem here? The problem has to do with the way parameters are stored and recalled in the program itself? Maybe a compatibility issue with certain extensions?
This problem really grasped my attention in the 3 most recent versions, but is probably much longer present.


Confirmed no bug. Get a QWERTY keyboard, set English US.

NObug.PNG
#11 已发布: 2020/10/12 08:09:18
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Copy the blue from page 3 ... paste page 14 [gray].

NObugCopyPaste.PNG
#12 已发布: 2020/10/12 15:31:13
Jan Claeys

Jan Claeys

2个赞,共25个帖子。

组: User

Dear all,

Thank you for the feedback!
@Andrey: thank you! I hope you can trace the concerned background process successfully. FYI: I use the most recent Windows incarnation (Windows 10 Pro; build 19041.508)
@Jean: it's a bug without any doubt (although not always repeatable), please see the screenshot below

Knipsel.PNG

Kind regards,

Jan
#13 已发布: 2020/10/12 20:26:13
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Collab NDTMA reported no bug latest SS.
I reported no bug SS 6179.
If a bug had appeared past SS 6179, it would have been reported.
It's your system/installation, end of it.
Go to the store, purchase:
1. QWERTY keyboard [English US]
2. a wired mouse, install
Wireless mouse is source of problem(sssssss) !
Your snippet can't be reproduced because there is no bug.
Cheers ... Jean
#14 已发布: 2020/10/12 23:37:05
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Hi. I can't reproduce the bug, but it could be interesting to know if, in the case you have the error, if you can see the tooltip about the variable value, as in the image. Isolated or when you write it into an expression. Obviously, autocalculation must to be on.

Clipboard01.jpg

Best regards.
Alvaro.
  • 有新帖
  • 无新帖