<?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 Main Menu(&amp;quot;command&amp;quot;) - return value? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Main-Menu-quot-command-quot-return-value/m-p/639982#M83746</link>
    <description>&lt;P&gt;If I open a file via open("filename"), the command returns a reference to the data table which can be used as&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = open("filename");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If I trigger &lt;STRONG&gt;open&lt;/STRONG&gt; via&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Main Menu("open")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;it doesn't return a reference to the data table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general, is there a way, when triggering a command from the Main Menu, to get the return value?&lt;/P&gt;&lt;P&gt;e.g. a reference to a data table for a user defined file loader - or an &lt;STRONG&gt;error code&lt;/STRONG&gt; of the AddIn?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 16:11:39 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2023-06-09T16:11:39Z</dc:date>
    <item>
      <title>Main Menu("command") - return value?</title>
      <link>https://community.jmp.com/t5/Discussions/Main-Menu-quot-command-quot-return-value/m-p/639982#M83746</link>
      <description>&lt;P&gt;If I open a file via open("filename"), the command returns a reference to the data table which can be used as&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = open("filename");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If I trigger &lt;STRONG&gt;open&lt;/STRONG&gt; via&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Main Menu("open")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;it doesn't return a reference to the data table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general, is there a way, when triggering a command from the Main Menu, to get the return value?&lt;/P&gt;&lt;P&gt;e.g. a reference to a data table for a user defined file loader - or an &lt;STRONG&gt;error code&lt;/STRONG&gt; of the AddIn?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:11:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Main-Menu-quot-command-quot-return-value/m-p/639982#M83746</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-06-09T16:11:39Z</dc:date>
    </item>
  </channel>
</rss>

