Hi @andréluis,
This is not possible in programming languages like C or C++ Source 1, Source 2. 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.
Sorry for the inconvenience this may cause.
BR,
Edwin.
Hi @andréluis,
This is not possible in programming languages like C or C++ Source 1, Source 2. 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.
Sorry for the inconvenience this may cause.
BR,
Edwin.