Language LINC
Date: | 01/02/07 |
Author: | igis |
URL: | n/a |
Comments: | 2 |
Info: | http://en.wikipedia.org/wiki/LINC_4GL |
Score: | ![]() |
SD; SS-COUNT ED; N LE; 2 SD; SS-MESSAGE ED; A LE; 80 MV; (99) SS-COUNT BG; DW; SS-COUNT NOT = GLB.ZEROS MV; SS-COUNT SS-MESSAGE ELSE; MV; (No more) SS-MESSAGE END; DW; SS-COUNT NOT = (1) ATS; (bottles of beer on the wall,) SS-MESSAGE ELSE; ATS; (bottle of beer on the wall,) SS-MESSAGE END; DW; SS-COUNT NOT = GLB.ZEROS MV; SS-COUNT SS-MESSAGE ELSE; MV; (No more) SS-MESSAGE END; DW; SS-COUNT > (1) ATS; (bottles of beer.) SS-MESSAGE ELSE; ATS; (bottle of beer.) SS-MESSAGE END; ME; SS-MESSAGE DW; SS-COUNT NOT = GLB.ZEROS MV; (Take one down and pass it around,) SS-MESSAGE SB; (1) SS-COUNT ELSE; MV; (Go to the store and buy some more,) SS-MESSAGE MV; (99) SS-COUNT END; DW; SS-COUNT > (1) ATS; SS-COUNT SS-MESSAGE ELSE; ATS; (no more) SS-MESSAGE END; ATS; (bottles of beer on the wall.) SS-MESSAGE ME; SS-MESSAGE END;
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