Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

I found bug in mappdk_server.kl #30

Open
baconkcode opened this issue Jul 25, 2023 · 1 comment
Open

I found bug in mappdk_server.kl #30

baconkcode opened this issue Jul 25, 2023 · 1 comment

Comments

@baconkcode
Copy link

In the line 24
VAR
.....
uframe_str: STRING[1]
tool_str: STRING[1]
This STRING[1] should be STRING[2] or STRING[254],because the out of function CNV_INT_STR() is more than STRING[1],it conclude a blank space.
In the line 53
CNV_INT_STR(UFRAMENUM, 1, 0, uframe_str)
CNV_INT_STR(TOOLNUM, 1, 0, tool_str)
the mistake will make uframe_str=' ' and tool_str=' ',you can not set the correct MNUFRAME and MNTOOL by
GET_VAR(entry, 'SYSTEM', '$MNUFRAME[1, ' + uframe_str + ']', $GROUP[1].$UFRAME, status)
GET_VAR(entry, 'SYSTEM', '$MNUTOOL[1, ' + tool_str + ']', $GROUP[1].$UTOOL, status)
My English is not good , I hope you can understand me.

@torayeff
Copy link
Owner

hi thanks for this, I am currently on holidays, I will verify this and update accordingly

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants