Various modern Basic languages have more in common with other languages then the original langauge Basic. For me it stopped being basic when they lost the line numbers.
A bit of what Wikipedia calls structured code in the original/early BASIC:
You can convert the modern BASIC to C or Pascal (languages from the early days but post original BASIC) much more easily then then true/original BASIC.
None of this makes the language any less useful. It just bugs me that they keep using that tired old name.
Maybe it should be called BABL:
Basic with Additions from Better Languages.
The name BASIC is used to attract people who think the language will be easier to use because they see the name BASIC and think simple. Thats marketing.
A bit of what Wikipedia calls structured code in the original/early BASIC:
Code:
10 INPUT "What is your name: "; U$
20 PRINT "Hello "; U$
30 REM
40 INPUT "How many stars do you want: "; N
50 S$ = ""
60 FOR I = 1 TO N
70 S$ = S$ + "*"
80 NEXT I
90 PRINT S$
100 REM
110 INPUT "Do you want more stars? "; A$
120 IF LEN(A$) = 0 THEN GOTO 110
130 A$ = LEFT$(A$, 1)
140 IF (A$ = "Y") OR (A$ = "y") THEN GOTO 40
150 PRINT "Goodbye ";
160 FOR I = 1 TO 200
170 PRINT U$; " ";
180 NEXT I
190 PRINT
You can convert the modern BASIC to C or Pascal (languages from the early days but post original BASIC) much more easily then then true/original BASIC.
None of this makes the language any less useful. It just bugs me that they keep using that tired old name.
Maybe it should be called BABL:
Basic with Additions from Better Languages.
The name BASIC is used to attract people who think the language will be easier to use because they see the name BASIC and think simple. Thats marketing.
Last edited: