3 ms·
Sean Astin is the greatest BASIC programmer of our generation
- deleted 5y ago[deleted]
- DaveExeter 5y agoDIM FourDigitPassword INTEGER ?
- n4r9 5y agoDoes BASIC allow padded string formatting? If so, you only need the one loop.
- szc 5y agoNo, 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
- perl4ever 5y agoI saw this headline and pictured him as a hobbit terminator, with BASIC code scrolling down one side of his field of view.