<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Am 24.12.2018 um 22:24 schrieb
      silvioprog:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKq_V2Jnq=ruOo3ubEkNWi1OhDO7cOJnPRCUr_NuVgp9zgJ=EQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">On Mon, Dec 24, 2018 at 3:43 PM Sven Barth via
            Pas2js <<a href="mailto:pas2js@lists.freepascal.org"
              target="_blank" moz-do-not-send="true">pas2js@lists.freepascal.org</a>>
            wrote:<br>
          </div>
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF">
                <div
                  class="m_8383390704682588519gmail-m_-7692999085196120308moz-cite-prefix">Am
                  22.12.2018 um 23:11 schrieb silvioprog:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div dir="ltr">
                      <div dir="ltr">On Sat, Dec 22, 2018 at 10:32 AM
                        warleyalex via Pas2js <<a
                          href="mailto:pas2js@lists.freepascal.org"
                          target="_blank" moz-do-not-send="true">pas2js@lists.freepascal.org</a>>
                        wrote:<br>
                      </div>
                      <div class="gmail_quote">
                        <blockquote class="gmail_quote"
                          style="margin:0px 0px 0px
                          0.8ex;border-left:1px solid
                          rgb(204,204,204);padding-left:1ex">if then
                          else alternative feature ( ? : )<br>
                          <br>
                          Amazing to see new fetures introduced to
                          pas2js. I must say that I do really<br>
                          like this syntax.<br>
                          <br>
                          ------- // pascal version // ------<br>
                          var<br>
                            msg: String;<br>
                          begin<br>
                            msg := "There are " + IntToStr(n) + " user"
                          + if (n>1) then "s" else "";<br>
                          end;<br>
                          ----------------------------------------<br>
                        </blockquote>
                        <div><br>
                        </div>
                        <div>It sounds very good and will be useful.</div>
                        <div><br>
                        </div>
                        <div>For the first time in history a language
                          will make ternary operators readable. :-)<br>
                        </div>
                        <br>
                      </div>
                    </div>
                  </div>
                </blockquote>
                That statement is incorrect as Oxygen already provides
                an if-expression like that.<br>
                <br>
                Regards,<br>
                Sven</div>
            </blockquote>
          </div>
          <div><br>
          </div>
          <div>Some link for the mere mortals? :-)</div>
          <br>
        </div>
      </div>
    </blockquote>
    Here:
    <a class="moz-txt-link-freetext" href="https://www.elementscompiler.com/elements/oxygene/language.aspx#grabbag">https://www.elementscompiler.com/elements/oxygene/language.aspx#grabbag</a><br>
    Search for ""if", "case" and "for" loop expressions".<br>
    <br>
    Regards,<br>
    Sven<br>
  </body>
</html>