3 ms·
So does Python (via ctypes) and pretty much every language we consider "high level". But in BASIC your default approach is "DIM names$(count)" which "magically"
by theamk 3y ago
So does Python (via ctypes) and pretty much every language we consider "high level". But in BASIC your default approach is "DIM names$(count)" which "magically" manages your memory for you.. which is why we consider it higher level than C.
- pjmlp 3y agoThat is hardly different from malloc(count * size), REDIM exists (aka realloc()) and many BASICs do offer the free variant as well. In fact, there is hardly any difference between VMS BASIC and VMS C in terms of what is possible, if we want to take the discussion outside of 8 bit versions.