| <html> |
| <head> |
| <title>Integer</title> |
| <link href="book.css" rel="stylesheet" type="text/css"/> |
| <meta content="DocBook XSL Stylesheets V1.75.1" name="generator"/> |
| <link rel="home" href="index.html" title="Xpand Documentation"/> |
| <link rel="up" href="builtin_api.html" title="Built-in types API documentation"/> |
| <link rel="prev" href="String.html.html" title="String"/> |
| <link rel="next" href="Boolean.html.html" title="Boolean"/> |
| </head> |
| <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| <h1 xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">Integer</h1> |
| <div class="section" title="Integer"> |
| <div class="titlepage"> |
| <div> |
| <div> |
| <h2 class="title" style="clear: both"> |
| <a name="Integer.html"/> |
| <code class="classname">Integer</code> |
| </h2> |
| </div> |
| </div> |
| </div> |
| <p> |
| Supertype: |
| <a class="link" href="Real.html.html" title="Real"> |
| <code class="classname">Real</code> |
| </a> |
| </p> |
| <p> |
| |
| |
| This type does not define any properties. |
| |
| |
| </p> |
| <p> |
| |
| |
| </p> |
| <div class="table"> |
| <a name="Integer_Operations"/> |
| <p class="title"> |
| <b>Table 5. Operations</b> |
| </p> |
| <div class="table-contents"> |
| <table summary="Operations" cellspacing="0" cellpadding="10" style="border-collapse: collapse;border-top: 0.5pt solid ; border-bottom: 0.5pt solid ; border-left: 0.5pt solid ; border-right: 0.5pt solid ; "> |
| <colgroup> |
| <col align="left"/> |
| <col align="left"/> |
| <col align="left"/> |
| </colgroup> |
| <thead> |
| <tr> |
| <th style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left">Return type</th> |
| <th style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left">Name</th> |
| <th style="border-bottom: 2 solid #000000; " align="left">Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <a class="link" href="List.html.html" title="List"> |
| <code class="classname">List</code> |
| </a> |
| </td> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <code class="methodname">upTo</code> |
| (<a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a>) |
| </td> |
| <td style="border-bottom: 2 solid #000000; " align="left"> |
| returns a List of Integers starting with the value of the target expression, up to the value of the specified Integer, incremented by one, e.g. '1.upTo(5)' evaluates to {1,2,3,4,5} |
| </td> |
| </tr> |
| <tr> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <a class="link" href="Boolean.html.html" title="Boolean"> |
| <code class="classname">Boolean</code> |
| </a> |
| </td> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <code class="methodname">>=</code> |
| (<a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a>) |
| </td> |
| <td style="border-bottom: 2 solid #000000; " align="left"> |
| |
| </td> |
| </tr> |
| <tr> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <a class="link" href="Boolean.html.html" title="Boolean"> |
| <code class="classname">Boolean</code> |
| </a> |
| </td> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <code class="methodname">==</code> |
| (<a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a>) |
| </td> |
| <td style="border-bottom: 2 solid #000000; " align="left"> |
| |
| </td> |
| </tr> |
| <tr> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <a class="link" href="Boolean.html.html" title="Boolean"> |
| <code class="classname">Boolean</code> |
| </a> |
| </td> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <code class="methodname">!=</code> |
| (<a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a>) |
| </td> |
| <td style="border-bottom: 2 solid #000000; " align="left"> |
| |
| </td> |
| </tr> |
| <tr> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <a class="link" href="List.html.html" title="List"> |
| <code class="classname">List</code> |
| </a> |
| </td> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <code class="methodname">upTo</code> |
| (<a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a>, <a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a>) |
| </td> |
| <td style="border-bottom: 2 solid #000000; " align="left"> |
| returns a List of Integers starting with the value of the target expression, up to the value of the first paramter, incremented by the second parameter, e.g. '1.upTo(10, 2)' evaluates to {1,3,5,7,9} |
| </td> |
| </tr> |
| <tr> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a> |
| </td> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <code class="methodname">-</code> |
| (<a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a>) |
| </td> |
| <td style="border-bottom: 2 solid #000000; " align="left"> |
| |
| </td> |
| </tr> |
| <tr> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a> |
| </td> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <code class="methodname">+</code> |
| (<a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a>) |
| </td> |
| <td style="border-bottom: 2 solid #000000; " align="left"> |
| |
| </td> |
| </tr> |
| <tr> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <a class="link" href="Boolean.html.html" title="Boolean"> |
| <code class="classname">Boolean</code> |
| </a> |
| </td> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <code class="methodname"><=</code> |
| (<a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a>) |
| </td> |
| <td style="border-bottom: 2 solid #000000; " align="left"> |
| |
| </td> |
| </tr> |
| <tr> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <a class="link" href="Boolean.html.html" title="Boolean"> |
| <code class="classname">Boolean</code> |
| </a> |
| </td> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <code class="methodname"><</code> |
| (<a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a>) |
| </td> |
| <td style="border-bottom: 2 solid #000000; " align="left"> |
| |
| </td> |
| </tr> |
| <tr> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a> |
| </td> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <code class="methodname">*</code> |
| (<a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a>) |
| </td> |
| <td style="border-bottom: 2 solid #000000; " align="left"> |
| |
| </td> |
| </tr> |
| <tr> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a> |
| </td> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <code class="methodname">-</code> |
| () |
| </td> |
| <td style="border-bottom: 2 solid #000000; " align="left"> |
| |
| </td> |
| </tr> |
| <tr> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <a class="link" href="Boolean.html.html" title="Boolean"> |
| <code class="classname">Boolean</code> |
| </a> |
| </td> |
| <td style="border-right: 2 solid #000000; border-bottom: 2 solid #000000; " align="left"> |
| <code class="methodname">></code> |
| (<a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a>) |
| </td> |
| <td style="border-bottom: 2 solid #000000; " align="left"> |
| |
| </td> |
| </tr> |
| <tr> |
| <td style="border-right: 2 solid #000000; " align="left"> |
| <a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a> |
| </td> |
| <td style="border-right: 2 solid #000000; " align="left"> |
| <code class="methodname">/</code> |
| (<a class="link" href="Integer.html.html" title="Integer"> |
| <code class="classname">Integer</code> |
| </a>) |
| </td> |
| <td style="" align="left"> |
| |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <p> |
| <br class="table-break"/> |
| |
| |
| </p> |
| </div> |
| </body> |
| </html> |