The Twelve Days of Christmas: Difference between revisions
Content added Content deleted
m (→{{header|Smart BASIC}}: fixed </Lang> tag) |
|||
Line 5,394: | Line 5,394: | ||
print x$(0)&d$(u)&x$(1)&chr$(10)&x$(2) |
print x$(0)&d$(u)&x$(1)&chr$(10)&x$(2) |
||
for t=s to 14!print x$(t)!next t |
for t=s to 14!print x$(t)!next t |
||
print!next u!data "first","second","third","fourth","fifth","sixth","seventh","eight","ninth","tenth","eleventh","Twelfth","On the "," day of Christmas","My true love gave to me:","Twelve drummers drumming","Eleven pipers piping","Ten lords a-leaping","Nine ladies dancing","Eight maids a-milking","Seven swans a-swimming,","Six geese a-laying","Five golden rings","Four calling birds","Three french hens","Two turtle doves and","A partridge in a pear tree."</ |
print!next u!data "first","second","third","fourth","fifth","sixth","seventh","eight","ninth","tenth","eleventh","Twelfth","On the "," day of Christmas","My true love gave to me:","Twelve drummers drumming","Eleven pipers piping","Ten lords a-leaping","Nine ladies dancing","Eight maids a-milking","Seven swans a-swimming,","Six geese a-laying","Five golden rings","Four calling birds","Three french hens","Two turtle doves and","A partridge in a pear tree."</lang> |
||
<pre>On the first day of Christmas |
<pre>On the first day of Christmas |
||
My true love gave to me: |
My true love gave to me: |