RE: BASIC OS for the PC

From: Baltissen, GJPAA (Ruud) <ruud.baltissen_at_apg.nl>
Date: Wed, 21 Dec 2016 11:01:45 +0000
Message-ID: <54F350D2C6501448A3EE14B7854C5FB55241E262@WSV10441N3.office01.internalcorp.net>
Hallo Sipro,


> Think about the string variables: As soon as these are not only assignments ....

Very very good explanation, thank you very much!

My idea was quite simple: the moment I run into a variable, I will reserve memory for it in the data area. And just like in Pascal, 256 bytes for the string. That is, purely for the data. I also have to reserve some memory for the name, type, etc. That is not needed for a compiled program but an interpreter has to check every time if a found variable already exists or not. 


> in which case the pointer points into the program area

Hmm, nice trick. Can save a lot of memory. Just need to come up with something smart for what to do if the string is changed. I think a simple pointer will do: it either points to the program area or the reserved area. But then I need a mechanism that tells BASIS what memory is in use for strings or not. Just a quick one: non-strings bottom-up, strings top-down plus a pointer that points to the free area under the string-memory. But the moment they meet each other I have an "?OUT OF MEMORY ERROR".


> No internet? How that? ;)

Quite simple, they don't want it/haven't any use for it. FYI, they live in Górki Noteckie (use Google Maps to find it) and so far I haven't found any Wifi signal there yet. I cannot imagine that there isn't any internet at all (satellite, internet over mobile phone) there but still a bit strange. 


Met vriendelijke groet / With kind regards,
Ruud Baltissen

www.Baltissen.org



De informatie in dit e-mailbericht is vertrouwelijk en uitsluitend bestemd voor de 
geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoeken wij u contact op te 
nemen met de afzender per kerende e-mail. Verder verzoeken wij u in dat geval dit 
e-mailbericht te vernietigen en de inhoud ervan aan niemand openbaar te maken. 
Wij aanvaarden geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige 
overbrenging van de inhoud van een verzonden e-mailbericht, noch voor daarbij 
overgebrachte virussen.

APG Groep N.V. is gevestigd te Heerlen en is ingeschreven in het 
handelsregister van de Kamer van Koophandel Limburg onder nummer 14099617


The information contained in this e-mail is confidential and may be privileged. 
It may be read, copied and used only by the intended recipient. 
If you have received it in error, please contact the sender immediately by 
return e-mail; please delete in this case the e-mail and do not disclose its 
contents to any person. We don't accept liability for any errors, omissions, 
delays of receipt or viruses in the contents of this message which arise as a 
result of e-mail transmission.

APG Groep N.V. is registered in the trade register of the Chamber 
of Commerce Limburg, The Netherlands, registration number: 14099617


       Message was sent through the cbm-hackers mailing list
Received on 2016-12-21 12:00:03

Archive generated by hypermail 2.2.0.