pbi-ide/help/alf.html

49 lines
2.0 KiB
HTML
Raw Normal View History

<h1 style="background: rgb(238, 238, 238); padding: 5px 10px; border: 1px solid rgb(204, 204, 204); border-image: none;">Additional language features</h1>
<p>Additional elements which are supported by &pi;Basic but not supported by PBasic&reg;</p>
<hr />
<h3><code>ACTIVATEINFO/</code><code>DEACTIVATEINFO:</code></h3>
<p>This command activates/deactivates the console output of additional information about the commands at runtime.</p>
<img src="img/info.png" alt="image">
<hr />
<h3><code><font face="Courier New">DEBUG EEPROM:</font></code></h3>
<p>We added <code>EEPROM </code>as an additional argument to <code>DEBUG </code>(just like <code>DEBUG CR </code>or <code>DEBUG CLS</code>).</p>
<p>It&#39;s output is&nbsp;the composition of the EEPROM at runtime.</p>
<img src="img/debuge.png" alt="image">
<hr />
<h3><code><font face="Courier New">SYMBOL new = NEW 16:</font></code></h3>
<p>We added the possibility of referencing new variables of a specified size (in bits).</p>
<p>It&#39;s not possible to reference variables with more than 16 bits.</p>
<img src="img/new.png" alt="image">
<hr />
<h3><code><font face="Courier New">SYSCLOCK</font></code></h3>
<p>This is no command but a variable that contains the actual system time (in seconds).</p>
<p>It repeats at 0 after about 18 hours an 12 minutes.</p>
<img src="img/sysclock.png" alt="image">
<hr />
<h3><code><font face="Courier New">BREAKPOINT</font></code></h3>
<p>This&nbsp;command that loops the evaluation of the user-input until continue (ENTER).</p>
<p>It can evaluate all known commands of the piBasic Interpreter as to create the possibility</p>
<p>of simulating analogue input or debugging.</p>
<img src="img/BP.png" alt="image">
<hr />
<h3><tt><font face="Courier New">ASSERT expression</font></tt></h3>
<p>If you don't want to check for something by yourself, you can make the program stop if the asserted expression is false.</p>
<img src="img/assert.png" alt="image">