Added New Static Mesh Functions
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
<span class="rc_keyword">For</span> I = <span class="rc_number">1</span> <span class="rc_keyword">To</span> <span class="rc_number">5</span> <br>
|
||||
<span class="rc_keyword">Print</span> I <br>
|
||||
<span class="rc_keyword">Print</span> I <br>
|
||||
<span class="rc_keyword">Next</span> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
@@ -24,7 +24,7 @@
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
<span class="rc_keyword">For</span> I = <span class="rc_number">1</span> <span class="rc_keyword">To</span> <span class="rc_number">5</span> Step <span class="rc_number">2</span> <br>
|
||||
<span class="rc_keyword">Print</span> I <br>
|
||||
<span class="rc_keyword">Print</span> I <br>
|
||||
<span class="rc_keyword">Next</span> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
@@ -36,8 +36,8 @@
|
||||
<p id="rc_code"><code>
|
||||
I = <span class="rc_number">0</span> <br>
|
||||
<span class="rc_keyword">While</span> I < <span class="rc_number">5</span> <br>
|
||||
<span class="rc_keyword">Print</span> I <br>
|
||||
I = I + <span class="rc_number">1</span> <br>
|
||||
<span class="rc_keyword">Print</span> I <br>
|
||||
I = I + <span class="rc_number">1</span> <br>
|
||||
<span class="rc_keyword">Wend</span> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
@@ -51,7 +51,7 @@
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
<span class="rc_keyword">Do</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"HELLO WORLD"</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"HELLO WORLD"</span> <br>
|
||||
<span class="rc_keyword">Loop</span> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
@@ -60,8 +60,8 @@
|
||||
<p id="rc_code"><code>
|
||||
I = <span class="rc_number">0</span> <br>
|
||||
<span class="rc_keyword">Do</span> <br>
|
||||
<span class="rc_keyword">Print</span> I <br>
|
||||
I = I + <span class="rc_number">1</span> <br>
|
||||
<span class="rc_keyword">Print</span> I <br>
|
||||
I = I + <span class="rc_number">1</span> <br>
|
||||
<span class="rc_keyword">Loop</span> <span class="rc_keyword">While</span> I < <span class="rc_number">5</span> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
@@ -70,12 +70,12 @@
|
||||
<p id="rc_code"><code>
|
||||
I = <span class="rc_number">0</span> <br>
|
||||
<span class="rc_keyword">Do</span> <br>
|
||||
<span class="rc_keyword">Print</span> I <br>
|
||||
I = I + <span class="rc_number">1</span> <br>
|
||||
<span class="rc_keyword">Print</span> I <br>
|
||||
I = I + <span class="rc_number">1</span> <br>
|
||||
<span class="rc_keyword">Loop</span> <span class="rc_keyword">Until</span> I = <span class="rc_number">5</span> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
The above code will output the numbers 0 to 4 to the console. This form of the <b>DO</b> loop will continue to loop until the loop condition is true.
|
||||
The above code will output the numbers 0 to 4 to the console. This form of the <b>DO</b> loop will continue to loop until the loop condition is true.
|
||||
</p>
|
||||
<p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user