Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppendAny and AppendVariable for Int values not producing correct value #14

Closed
chrisbeardy opened this issue Nov 21, 2023 · 3 comments
Closed

Comments

@chrisbeardy
Copy link

I am having an issue appending int values using AppendAny. I think perhaps the pointer values are not lining up?

For example -18000 (is) is appearing as 115.

@bengeisler
Copy link
Owner

Hi, thanks for bringing this up! I'll look into it.

@bengeisler
Copy link
Owner

The problem seems to be with the ANY_TO_STRING function from Beckhoff that doesn't show the expected behavior. Surprisingly, all information about it on the web is gone 😄
I already had a custom AnyToString function for other data types, it seems that I have to use it for all data types.

bengeisler added a commit that referenced this issue Nov 23, 2023
…ToString. Added explicit cast for all data types to AnyToString. Following up on #14. New library version 0.3.1
@bengeisler
Copy link
Owner

That was a really good catch 👍
Please use the updated library version 0.3.1 on Twinpack or under releases.

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

No branches or pull requests

2 participants