4 ms·
BASIC on the Apple ][ did a linear search from the start of the program for each GOTO and GOSUB. I wonder if GW still does that...
by ncmncm 6y ago
BASIC on the Apple ][ did a linear search from the start of the program for each GOTO and GOSUB. I wonder if GW still does that...
- tyingq 6y agoIt does that for "FOR" loops: https://github.com/microsoft/GW-BASIC/blob/09ad7bc671c90f0eeff4cb7593121ad6f170d903/GWMAIN.ASM#L305 https://github.com/microsoft/GW-BASIC/blob/09ad7bc671c90f0ee...