<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic C - Convert string to variable name in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/C-Convert-string-to-variable-name/m-p/1753689#M215393</link>
    <description>&lt;P&gt;Hello, i'm using a MIMRXT100-EVK and i want know if it's possible to convert a string into a variable name using C. Or if i can compile some application in python or C++ to make this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2023 20:11:19 GMT</pubDate>
    <dc:creator>andréluis</dc:creator>
    <dc:date>2023-11-07T20:11:19Z</dc:date>
    <item>
      <title>C - Convert string to variable name</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/C-Convert-string-to-variable-name/m-p/1753689#M215393</link>
      <description>&lt;P&gt;Hello, i'm using a MIMRXT100-EVK and i want know if it's possible to convert a string into a variable name using C. Or if i can compile some application in python or C++ to make this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 20:11:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/C-Convert-string-to-variable-name/m-p/1753689#M215393</guid>
      <dc:creator>andréluis</dc:creator>
      <dc:date>2023-11-07T20:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: C - Convert string to variable name</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/C-Convert-string-to-variable-name/m-p/1753768#M215402</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/111757"&gt;@andréluis&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This is not possible in programming languages like C or C++&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/31778923/c-convert-string-to-variable-name" target="_self"&gt;Source 1&lt;/A&gt;, &lt;A href="https://stackoverflow.com/questions/7143120/convert-string-to-variable-name-or-variable-type" target="_self"&gt;Source 2&lt;/A&gt;. As stated in the second link, C++ and specially C work by doing most of the computations during compile time rather than runtime. This way, the MCU executes a set of predefined (or precompiled) steps during runtime. Therefor, it cannot change it's variable names or recompile them in runtime, no. Source 1 has some code snippets that might prove to be work arounds, however.&lt;/P&gt;
&lt;P&gt;Sorry for the inconvenience this may cause.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 01:10:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/C-Convert-string-to-variable-name/m-p/1753768#M215402</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2023-11-08T01:10:27Z</dc:date>
    </item>
  </channel>
</rss>

