Examples

This page contains some example programs. I hope that these will be useful while learning TBS.

Name: "First Contact"
Description: The first real program ever created in TBS. Notice that this is obscured :).
Code: http://pastebin.com/cpjVpLsr
Works on: alpha-1, alpha-2, alpha-2.9, alpha-3

Name: "While Loops"
Description: A simple program to show the use of while loops in TBS.
Code: http://pastebin.com/chPdW2Ya
Works on: alpha-1, alpha-2, alpha-2.9, alpha-3

Name: "Fibonacci Numbers"
Description: A simple program to write the first 1476 Fibonacci Numbers to a file.
Code: http://pastebin.com/PBDeqpN2
Works on: alpha-1, alpha-2, alpha-2.9, alpha-3

No comments:

Post a Comment