Jump to content

Language Help


Rakdos

Recommended Posts

Can anyone tell me of a language that is similar in syntax to this :

 

define #num=99
   start loop
   print "#num Bottle(s) of beer on the wall
          #num bottle(s) of beer"
   dec #num 1
   if #num=0 then
       print "No Bottles of beer on the wall
           go to the store and buy more"
   else loop

 

 

Thanks.

Link to comment
Share on other sites

I'm not a programmer - I can do a little bit of basic. No-ne has answered so here is my GUESS (do not use this info - it is just a guess) for a bit of fun. (here is where I make a complete fool of myself for sure!)

 

It looks similar to Pascal or C... (???)

 

anyway:

 

if: #num = 0

then: 'panic'!!!!!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.