<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to string as array of bytes</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/0106e6b448/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/0106e6b448/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/0106e6b448/</id><updated>2021-11-30T00:23:30.248000Z</updated><subtitle>Recent posts to string as array of bytes</subtitle><entry><title>string as array of bytes</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/0106e6b448/?limit=25#e5f0/2bce" rel="alternate"/><published>2021-11-30T00:23:30.248000Z</published><updated>2021-11-30T00:23:30.248000Z</updated><author><name>jeffersonhui</name><uri>https://forge.codesys.com/u/jeffersonhui/</uri></author><id>https://forge.codesys.comc0ebf896932278bc3c30d5977b8d57d8538cfc1f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;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.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>string as array of bytes</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/0106e6b448/?limit=25#e5f0" rel="alternate"/><published>2021-11-29T22:45:29.071000Z</published><updated>2021-11-29T22:45:29.071000Z</updated><author><name>jeffersonhui</name><uri>https://forge.codesys.com/u/jeffersonhui/</uri></author><id>https://forge.codesys.com375f6ab835a14da5837813d74ecc4287448757da</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;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.&lt;br/&gt;
Does anyone know if this is possible in Codesys 2.3?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br/&gt;
Jefferson&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>