Language NVML
(web-based version)
Date: | 05/18/05 |
Author: | Thomas J. Hruska |
URL: | n/a |
Comments: | 0 |
Info: | http://www.slproweb.com/products/nvml.html |
Score: | ![]() |
<nvdebug type="off"> <nv!> Deal with primary cases. </nv!> <nvfor var="Loop1" initial="99" condition="<Loop1> > 2" increment="-1"> <nv-math operation="round" value="<Loop1>" places="0"> bottles of beer on the wall,<br> <nv-math operation="round" value="<Loop1>" places="0"> bottles of beer.<br> Take one down, pass it around,<br> <nv-math operation="round" value="<Loop1> - 1" places="0"> bottles of beer on the wall.<br> <br> </nvfor> <nv!> Deal with pathological cases. </nv!> 2 bottles of beer on the wall,<br> 2 bottles of beer.<br> Take one down, pass it around,<br> 1 bottle of beer on the wall.<br> <br> 1 bottle of beer on the wall,<br> 1 bottle of beer.<br> Take one down, pass it around,<br> No more bottles of beer on the wall.<br> (You hurry to the store but return to find your bar burninated).<br> (Oh well, have 99 bottles of beer to yourself).<br>
Download Source | Write Comment
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments