Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ Write the first 1476 Fibonacci numbers to fibonacci.out.
- Written by Test on 03/11/2011 for TBS.
- http://tbslanguage.blogspot.com/ ;
- ?last = 0;
- ?last2 = 1;
- ?numbers =~ "0\n";
- _repeat(1475) {
- ?new = ?last + ?last2;
- ?last = ?last2;
- ?last2 = ?new;
- ?numbers =~ ?numbers + !str(?new) + "\n";
- }
- !fwrite(~"fibonacci.out", ~?numbers);
- _die();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement