Added New Static Mesh Functions
This commit is contained in:
@@ -13,11 +13,11 @@
|
||||
</p>
|
||||
<p id="rc_code"><code>
|
||||
<span class="rc_keyword">If</span> <span class="rc_number">5</span> > <span class="rc_number">6</span> <span class="rc_keyword">Then</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS WILL NOT PRINT"</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS WILL NOT PRINT"</span> <br>
|
||||
<span class="rc_keyword">ElseIf</span> <span class="rc_number">5</span> < <span class="rc_number">6</span> <span class="rc_keyword">Then</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS WILL PRINT"</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS WILL PRINT"</span> <br>
|
||||
<span class="rc_keyword">Else</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS ALSO WILL NOT PRINT"</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS ALSO WILL NOT PRINT"</span> <br>
|
||||
<span class="rc_keyword">End</span> <span class="rc_keyword">If</span> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
@@ -29,13 +29,13 @@
|
||||
<p id="rc_code"><code>
|
||||
<span class="rc_keyword">Select</span> <span class="rc_keyword">Case</span> <span class="rc_number">5</span> <br>
|
||||
<span class="rc_keyword">Case</span> <span class="rc_number">6</span> <br>
|
||||
<span class="rc_keyword">Print</span> THIS WILL <span class="rc_keyword">NOT</span> <span class="rc_string">"<span class="rc_keyword">PRINT</span> <br>
|
||||
<span class="rc_keyword">Print</span> THIS WILL <span class="rc_keyword">NOT</span> <span class="rc_string">"<span class="rc_keyword">PRINT</span> <br>
|
||||
<span class="rc_keyword">Case</span> <span class="rc_number">5</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS WILL PRINT"</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS WILL PRINT"</span> <br>
|
||||
Default <br>
|
||||
<span class="rc_comment">'Note: Default will be true if every other case is false. </span><br>
|
||||
<span class="rc_comment">' Default is optional and can be excluded if you don't need it </span><br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS WILL NOT PRINT"</span> <br>
|
||||
<span class="rc_comment">'Note: Default will be true if every other case is false. </span><br>
|
||||
<span class="rc_comment">' Default is optional and can be excluded if you don't need it </span><br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS WILL NOT PRINT"</span> <br>
|
||||
<span class="rc_keyword">End</span> <span class="rc_keyword">Select</span> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
@@ -44,15 +44,15 @@
|
||||
<p id="rc_code"><code>
|
||||
<span class="rc_keyword">Select</span> <span class="rc_keyword">Case</span> <span class="rc_number">5</span> <br>
|
||||
<span class="rc_keyword">Case</span> <span class="rc_number">6</span> <br>
|
||||
<span class="rc_keyword">Print</span> THIS WILL <span class="rc_keyword">NOT</span> <span class="rc_string">"<span class="rc_keyword">PRINT</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS WILL NOT PRINT"</span> <br>
|
||||
<span class="rc_keyword">Case</span> <span class="rc_number">4</span>, <span class="rc_number">5</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS WILL PRINT"</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS WILL PRINT"</span> <br>
|
||||
Default <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS WILL NOT PRINT"</span> <br>
|
||||
<span class="rc_keyword">Print</span> <span class="rc_string">"THIS WILL NOT PRINT"</span> <br>
|
||||
<span class="rc_keyword">End</span> <span class="rc_keyword">Select</span> <br>
|
||||
</code></p>
|
||||
<p>
|
||||
The above example is mostly the same as the previous example. The difference is that in our second <b>CASE</b> we are comparing both 4 and 5. If either of them are equal to our <b>SELECT</b> argument then the code inside the <b>CASE</b> block will execute.
|
||||
The above example is mostly the same as the previous example. The difference is that in our second <b>CASE</b> we are comparing both 4 and 5. If either of them are equal to our <b>SELECT</b> argument then the code inside the <b>CASE</b> block will execute.
|
||||
</p>
|
||||
<p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user