Here is a example a beer Program in PleasePorigeHot:
1 Please put beer in the porige 2 1 2 3 4 5 6 7 8 9101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 3 Please porige hot or in the pot nine days old + 1 4 Please porige hot on the wall 5 Please porige hot ,go North 7 Please porige hot ,go South 8 Please porige hot in the scoop 9 Please porige hot ,go North 10 Please porige hot in the pot 11 Please porige hot ,go North 13 Please porige hot in the pot 14 Please porige hot ,go North 16 Please porige hot in the pot 18 Please porige hot ,go South 318 Please porige hot ,go South 319 Please porige hot in the scoop 321 Please porige hot ,go North 322 Please porige hot in the pot 323 Please porige hot ,go North 325 Please porige hot in the pot 326 Please porige hot ,go North 328 Please porige hot in the pot 329 Please porige hot or in the pot nine days old x 0 330 Please porige hot or in the pot nine days old + 2 .5 331 Please porige hot on the stove 332 Please porige hot out the window 334 Please porige hot or cold botles uv beer 335 Please porige hot or in the pot nine days old + 5 337 Please porige hot in the pot 338 Please porige hot out the window 339 Please porige hot in the scoop 340 Please porige hot ,go South 341 Please porige hot out the window 343 Please porige hot or cold botles uv beer on the wall 344 Please porige hot ,go South 346 Please porige hot out the window 347 Please porige hot or cold botles uv beer 349 Please porige hot or cold Take 1 down and pass it around 350 Please porige hot in the pot 351 Please porige hot or in the pot nine days old x 0 352 Please porige hot or in the pot nine days old + -1 353 Please porige hot on the flor 331 355 Please porige hot in the scoop 357 Please porige hot ,go South 358 Please porige hot in the scoop 359 Please porige hot in the pot 361 Please porige hot ,go North 657 Please porige hot in chapter 7 659 Please porige hot or cold No more botles uv beer on the wallHere is a example of if/else:
# Ask for romin number 1 Please porige hot or cold Type a romin number: 2 Please porige hot inside # Subtract 2 4 Please porige hot or in the pot nine days old + -2 # Take reciprocal and round down # It will now be 1 if you typed 3, -1 if you typed 1, utherwise 0 5 Please porige hot or in the pot nine days old / 1 # Multiply bi 5, becuse you hav to skip 5 lines 7 Please porige hot or in the pot nine days old x 5 # Skip the number uv lines is calculated 8 Please porige hot on the stove 10 Please porige hot or cold You didint pick three! # In case you didint pick three, ad 1 to make ether 1 or -4, and skip 11 Please porige hot or in the pot nine days old + 1 13 Please porige hot on the stove # In case its -4, it shud ad 5 to make 1 and skip 1 line, so it wont say you both # picked and did not pick three. 14 Please porige hot or in the pot nine days old + 5 16 Please porige hot on the stove 17 Please porige hot or cold You picked three! 19 Please porige hot or cold ~ The End ~
See EsotericProgrammingLanguage