Voting

Category

real language

Bookmarking

Del.icio.us Digg Diigo DZone Earthlink Google Kick.ie
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language Scope Nabla

Date:04/20/05
Author:Anonymous
URL:n/a
Comments:0
Info:http://indirect3d.sf.net/
Score: (3.33 in 3 votes)
<!-- Scope Nabla version of 99 bottles of beer
  http://indirect3d.sf.net/ -->

<!loadsyntax =language.sntx/>
<!loadsyntax =conio.sntx/>

<Nabla>
 <defvar Class=int Identifier=i><int_const value=99/></defvar>
 <loop>
  <cout><varref =i/><str_const =" bottle(s) of beer on the wall"/>
   <char_const =0xA /></cout>
  <cout><varref =i/><str_const =" bottle(s) of beer"/>
   <char_const =0xA /></cout>
  <cout><str_const ="take one down and pass it around" />
   <char_const =0xA /></cout> 
  <Equal><Deca><varref =i/></><int_const =1/></Equal> 
  <cout>
   <varref =i/>
    <str_const value=" bottle(s) of beer on the wall" />
   <char_const =0xA /></cout> 
 </loop>
 <cout><str_const ="No more bottles of beer on the wall!

"/></cout>
 <cout><str_const ="Time to buy more beer!"/></cout> 
</Nabla>

Download Source | Write Comment

Alternative Versions

Comments

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!

Name:

eMail:

URL:

Security Code:
  
Comment: