Jump to content

Language Help

Featured Replies

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.

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'!!!!!!

Archived

This topic is now archived and is closed to further replies.

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.