Language Unique Concept
| Date: | 04/20/05 |
| Author: | Anonymous |
| URL: | n/a |
| Comments: | 0 |
| Info: | n/a |
| Score: |
This is the bottleApp written in Unique Concept, the programming language
made and used by Visma Unique here in Norway.
It gives a formatted report to an outunit when run.
xtra="HoevlerrietNeppaaStranda"
on (@XTRA)
loop() *-- Scroll until the wall is empty
assign(Outfield="Bottles"&' bottle(s) of beer on the
wall,'&&"Bottles"&' bottles of beer. Take one down, pass it
around,'&"Bottles"&' bottle(s) of beer on the wall.')
dec(bottles)
print-form(Bottleform) *-- Print the chorus
until(Bottles=0) *-- Time to go home
endloop
endon
stream="Output"
file-name('?')
include-forms("BOTTLEFORM")
form="BOTTLEFORM"
size(2.937,0)
element="Outfield"
type(OUTPUT)
multi-line(ON)
connect("Outfield")
position(0,1.25)
size(2.75,76.375)
field="Outfield" static() storage(A(255))
field="Bottles" static() storage(I4) ini-val=99
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