EasyPTR APPMAN help

Anything QL Software or Programming Related.
User avatar
BSJR
Trump Card
Posts: 186
Joined: Sun Oct 18, 2015 12:53 pm
Location: Amsterdam
Contact:

Re: EasyPTR APPMAN help

Post by BSJR »

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.
Another way is to tell Qlib that APPAn is a valid command with : EXT_FN "APPAn", at the start of your Basic.
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


User avatar
Andrew
Aurora
Posts: 795
Joined: Tue Jul 17, 2018 9:10 pm

Re: EasyPTR APPMAN help

Post by Andrew »

I am trying to get a grip on EasyPtr and I have a problem:
I am using EasyPtr4 - I have PEX installed and I LRUN the boot (had to change easyext_cde in easyext_bin to run the boot)
When I try to run demo_ptrdemo_bas i get "At line 110:2 unknown procedure"
110 WMON 4: OUTL: OUTL#1

So OUTL is not recognized (OUTLN is recognized as a valid keyword)
PEX 2.05 is installed (PTR_GEN, WMAN, Hot_rext, Menu_rext - also installed is qptr_bin) - So what am I missing ?


Derek_Stewart
Font of All Knowledge
Posts: 3971
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: EasyPTR APPMAN help

Post by Derek_Stewart »

Andrew wrote:I am trying to get a grip on EasyPtr and I have a problem:
I am using EasyPtr4 - I have PEX installed and I LRUN the boot (had to change easyext_cde in easyext_bin to run the boot)
When I try to run demo_ptrdemo_bas i get "At line 110:2 unknown procedure"
110 WMON 4: OUTL: OUTL#1

So OUTL is not recognized (OUTLN is recognized as a valid keyword)
PEX 2.05 is installed (PTR_GEN, WMAN, Hot_rext, Menu_rext - also installed is qptr_bin) - So what am I missing ?
Hi Andrew,

If you look in the Easyptr msnual, at page 65, it detsils the OUTL command, which is an extension located in one of following extensions:

easyptr_cde
easyptrr_cde
ptrmen_cde
ptrmenr_cde

Load in any one these extensions and the demo programme should run.


Regards,

Derek
User avatar
Andrew
Aurora
Posts: 795
Joined: Tue Jul 17, 2018 9:10 pm

Re: EasyPTR APPMAN help

Post by Andrew »

Derek_Stewart wrote: Hi Andrew,

If you look in the Easyptr msnual, at page 65, it detsils the OUTL command, which is an extension located in one of following extensions:

easyptr_cde
easyptrr_cde
ptrmen_cde
ptrmenr_cde

Load in any one these extensions and the demo programme should run.
Thank you Derek !
I started to read the manual, but haven't reached page 65 yet :)


Post Reply