Settings

Theme

Sean Astin is the greatest BASIC programmer of our generation

specularrealms.com

40 points by wunderbaba 5 years ago · 5 comments

Reader

perl4ever 5 years ago

I saw this headline and pictured him as a hobbit terminator, with BASIC code scrolling down one side of his field of view.

n4r9 5 years ago

Does BASIC allow padded string formatting? If so, you only need the one loop.

  • szc 5 years ago

    No, but there are other tricks, such as prepending enough zeros and then taking the rightmost 4 characters from the string...

    FOR I = 0 TO 9999 : A$ = RIGHT$("000"+STR$(I),4) : ... rest of the code : NEXT I

DaveExeter 5 years ago

DIM FourDigitPassword INTEGER ?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection