@freddix
Hello Fred,
your project is very interesting, have you already started to code it? :)
If you don't mind I've some suggestions about the example you've made with:
Quote:
freddix wrote:
Open To Read CHANNEL, FILE$
Open To Write CHANNEL, FILE$
I suggest to allow a dynamic channel allocation handled by your internal code, something like:
Channel = Open To Read FILE$
In this way the user is more "free" and can work easily with many opened files at a time without worring about the channel to use.
Imagine if someone would code a database with your language, with an unknown number of files to handle.
Tracking which channels are free and which one are used can force the user to make custom tracking routines slowing down the code.
Regards,
Allanon