2 ms·
10 LET L = "BASIC" 20 LET H = "HELLO WORLD" 30 IF L = "BASIC" GOTO 40 40 PRINT H 50 END
by atrophying 10y ago
10 LET L = "BASIC"
20 LET H = "HELLO WORLD"
30 IF L = "BASIC" GOTO 40
40 PRINT H
50 END
- dragonbonheur 10y agoModern BASICs don't use line numbers or even the let Keyword. In old BASIC you had to use a $ sigil after your variable for strings. In modern BASIC compilers you have to declare the type e.g. DIM Name AS STRING. Keywords don't have to be type in all caps either in a modern BASIC.