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.