Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
In Codesys 3.5, STRINGs are treated as an array of byte so I can simply use the array operator to get the ASCII value for a byte location in the string. However, I get an error when I try this in Codesys 2.3. I attached a screenshot.
Does anyone know if this is possible in Codesys 2.3?
Hi,
In Codesys 3.5, STRINGs are treated as an array of byte so I can simply use the array operator to get the ASCII value for a byte location in the string. However, I get an error when I try this in Codesys 2.3. I attached a screenshot.
Does anyone know if this is possible in Codesys 2.3?
Thanks,
Jefferson
I looked through some old Forge talks and figured out that you can use pointers to point between the string and the array of bytes. This is SOLVED.