<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[UIFlow &quot;Execute My Code&quot; should accept a text variable]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">As I am getting more and more into UIFlow, It would be amazingly powerful to execute a piece of code that was generated by the ui flow logic. Typically calling a function by its name inside a text variable would allow for very powerful logic ( for example mapping touch area to execute functions, right now, it's messy if you wan to build multiple menus with various buttons in each menus...)</p>
<p dir="auto">yes, I am aware that code needs to be generated, so it seems counter to the logic of producing code from a visual coding blocks, but it seems micro python as this ability to reflect on itself and thus allowing for such feature ( <a href="https://stackoverflow.com/questions/3061/calling-a-function-of-a-module-by-using-its-name-a-string" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/3061/calling-a-function-of-a-module-by-using-its-name-a-string</a>)</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Bye,</p>
<p dir="auto">Jean</p>
]]></description><link>https://community.m5stack.com/topic/6843/uiflow-execute-my-code-should-accept-a-text-variable</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 12:54:15 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6843.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Sep 2024 20:02:50 GMT</pubDate><ttl>60</ttl></channel></rss>