Another way is to tell Qlib that APPAn is a valid command with : EXT_FN "APPAn", at the start of your Basic.JonS wrote:Well, true to form this was my mistake.
$$asmb=name,0,60 does work. As the QLiberator manual clearly states, the extension (in this case APPA0) must be loaded when compiled. However, I had QSAVE'd before loading it and compiling it. I always save code using QSAVE so never use the LIBERATE name, structure but use the interactive.
I'm updating my QLiberator manual to say
IT IS ESSENTIAL THAT SUCH EXTENSIONS ARE ALREADY LOADED WHEN THE PROGRAM IS SAVED/COMPILED. If this is not observed, the compiler will find ambiguous names or unpredictable runtime behaviour will result.
Thanks for all advice given.
Together with EXT_PROC this can inform the compiler of all the keywords to expect that are not preloaded.
And indeed the "REMark $$asmb=?,0,64" in the manual is wrong and should be 0,60.
BSJR