Advertisement
Guest User

Untitled

a guest
Oct 6th, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. Module(letter one, List(
  2. Function(true,applejack's drinking song,List(), List(
  3. Assignment(applejack,NumberValue(99)),
  4. WhileStat(Relational(VariableValue(applejack),>,NumberValue(1)), List(
  5. PrintStat(Concatenation(List(StringValue( ), VariableValue(applejack), StringValue( jugs of cider on the wall, ), VariableValue(applejack), StringValue( jugs of cider,)))),
  6. Increment(applejack,-1),
  7. IfStat(Relational(VariableValue(applejack),>,NumberValue(1)), List(
  8. PrintStat(Concatenation(List(StringValue(take one down and pass it around, ), VariableValue(applejack), StringValue( jugs of cider on the wall.))))
  9. ), List(
  10. PrintStat(Concatenation(List(StringValue(take one down and pass it around, 1 jug of cider on the wall.
  11. 1 jug of cider on the wall, 1 jug of cider.
  12. take one down and pass it around, no more jugs of cider on the wall.)))))
  13. )
  14. ), List(
  15. PrintStat(Concatenation(List(StringValue(no more jugs of cider on the wall, no more jugs of cider.
  16. go to the store and buy some more, 99 jugs of cider on the wall.)))))))
  17. )
  18. )
  19. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement