Having read all the contributions to this thread, I haver decided to
re-invent the wheel and start my programs from scratch, testing each
section on all the platforms I expect to run it from as I go.
François wrote that EXTRAS is not a reliable method of seeing whether
an extension is loaded or not. All the alternatives offered seem to
examine whether a specific keyword is loaded or not (FINDNAME%, EXISTS
etc) - which does not provide a list of loaded 'keywords' like EXTRAS does.
Is there a reliable way of listing all the 'extras' currently loaded and
is there a way of getting a list of 'extras' each extension should load
- say from the .bin file that is being LRESPRd?. This would be useful in
determining whether an extension will overwrite a particular entry
already loaded.
Is there a recognised sequence that extensions should be loaded in? -
i.e. TK2 before Menu_rext.
Is there a way of getting say "EXTRAS" loaded without loading all the
other 400+ 'keywords' contained in TK2?
If this level of question is already covered in some document (book etc-
"How to write a BOOT program in SuperBASIC"), could someone please point
me in that direction to save you all re-inventing the wheel with me.
How do I decide which extensions should be LRESPRd and which left out
without the painstaking method of "leave it out and if the program
doesn't work, add it later"
I am most grateful for you comments and advice.
Regards to all,
John Gilpin.
François Van Emelen wrote:
P Witte schreef:
Marcel Kilgus wrote:
François Van Emelen wrote:
Of course this is only true for extensions/toolkits loaded in Job 0.
Yes, forgot to say that.
Extensions/toolkits loaded in another Job are only available in
that job.
'EXTRAS' doesn't always show all the available keywords. A bug or a
feature?
This was a feature on QDOS based machine (EXTRAS does not list any
keywords in ROM, as only the "extras" should be shown) which turned
into a bug on SMSQ/E based machines (there it was not guaranteed that
new keywords are not in the ROM address area). I fixed that in v2f99.
Unless he is refering to the feature that EXTRAS in SBasic daughters
only displays keywords once they have actually been used. And that
includes ALL non-language keywords (ie INPUT, but not REPeat, etc)
Quite neat really, but I cant remember why ;o)
Yes, that is what I was referring to. Thus 'Extras' is not a reliable
method to find out whether an extension is already loaded or not.
'FINDNAME%' is probably more reliable.
François Van Emelen
Per
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm