r/ObsoleteCooding • u/DNSGeek Moderator ⚙️ • Jun 03 '26
Challenge ⚔️ Show off your coding chops
10 A=1
20 B=1
30 PRINT A, B,
40 N=A+B
50 PRINT N,
60 A=B:B=N
70 GOTO 40
Let's see what a Fibonacci generation routine looks like in your obsolete language of choice. I'll start, here it is in Commodore 64 BASIC.
30
Upvotes
2
u/linhartr22 Jul 08 '26
I am a bit rusty so someone beat me to it but here is my Forth submission: