Very true, because that's what Basic truly is.Kaeru Gaman wrote:if you want a standard, put Line Numbers into your code and work with "Goto".
I've Had It!
-
- Enthusiast
- Posts: 469
- Joined: Sun Mar 16, 2008 9:18 am
Re: I've Had It!
Re: I've Had It!
In reality, all versions of BASIC use pointers...they just hide the "complexity" from the user and are generally safer because the compiler/running environment prevents the user from accessing outside the allotted areas of memory, etc.. For example, when you declare a variable, that variable represents some data in memory and so "points" to that data. Some BASICs allow you to dereference variable data using it just like a pointer, but without the danger:
a$ = "ABC"
Print a[0]
will print the character code for "A", which is in position zero.
I think the word BASIC should be quietly retired, since it has evolved so much and become so much more powerful (and faster, due to major compiler rewrites over the years). The 'B' in BASIC stands for Beginner's, so maybe it could be called 'PASIC' instead...or just 'Pure' (take out the 'Basic').
I doubt this will happen, though.
Russell
a$ = "ABC"
Print a[0]
will print the character code for "A", which is in position zero.
I think the word BASIC should be quietly retired, since it has evolved so much and become so much more powerful (and faster, due to major compiler rewrites over the years). The 'B' in BASIC stands for Beginner's, so maybe it could be called 'PASIC' instead...or just 'Pure' (take out the 'Basic').
I doubt this will happen, though.
Russell
*** Diapers and politicians need to be changed...for the same reason! ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
Re: I've Had It!
oh... and have a nice day.