<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Am 07.02.22 um 02:47 schrieb Robert
      Patterson:<br>
    </div>
    <blockquote type="cite" cite="mid:CAACncet497pseuyHLXty=p5g18821iF7XV3FYP+5J0_rh0E73w@mail.gmail.com">
      
      <div dir="ltr">Actually, never mind. The shorter version doesn't
        work because LoadString can return false.<br>
      </div>
      <br>
    </blockquote>
    <p><br>
    </p>
    <p>Even shorter alternative suggestion:<br>
    </p>
    <blockquote>
      <p><font face="monospace">local result = (tm.LoadStringA or
          tm.LoadString)(...)</font><br>
      </p>
    </blockquote>
    <p><br>
    </p>
    <blockquote type="cite" cite="mid:CAACncet497pseuyHLXty=p5g18821iF7XV3FYP+5J0_rh0E73w@mail.gmail.com">
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Sun, Feb 6, 2022 at 7:46 PM
          Robert Patterson <<a href="mailto:robert@robertgpatterson.com" moz-do-not-send="true" class="moz-txt-link-freetext">robert@robertgpatterson.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">
            <div>You can combine these like this, also (Lua magic
              incoming):</div>
            <div><span style="font-family:monospace"><br>
              </span></div>
            <div><span style="font-family:monospace">local result =
                (tm.LoadStringA and tm:LoadStringA(...)) or
                tm:LoadString(...)<br>
              </span></div>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <p><br>
    </p>
    <pre class="moz-signature" cols="0">-- 

Notengrafik Berlin GmbH
HRB 150007

UstID: DE 289234097
Geschäftsführer:
Thomas Weber und Werner J. Wolff

fon: +49 30 25359505
Friedrichstraße 23a
10969 Berlin

notengrafik.com</pre>
  </body>
</html>