On 17 Nov 2009, at 21:34, Dilwyn Jones wrote: >> >> Also, in one of my past articles, I wrote about the Name List in >> SuperBasic (QL Today I mean) and gave a demo of how to list everything >> in the name list. >> >> Might help? > Turbo Toolkit also has a function to help step through name table entries, I > think I used it in my Basic Reporter program. Could be used to write your own > EXTRAS perhaps.
Turbo Toolkit has the function BASIC_INDEX%(name$). This gives the position of the keyword name$ in the BASIC Table if present. If the keyword is not present it returns -12 which is "invalid name". This is a useful way of finding if an extension keyword is loaded. The string for name$ must have the correct case (usually upper). George _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
