Search found 77 matches

by JonS
Thu Feb 06, 2020 12:16 pm
Forum: Software & Programming
Topic: EasyPTR APPMAN help
Replies: 23
Views: 6963

Re: EasyPTR APPMAN help

Norman

Thanks, but it works fine if I add the menu to an extension file as per your example.

However, as I always have the extensions loaded, that's adding a large chunk of "duplicate" code so I am trying to create an _app file, with just the menus in.
by JonS
Thu Feb 06, 2020 11:46 am
Forum: Software & Programming
Topic: EasyPTR APPMAN help
Replies: 23
Views: 6963

Re: EasyPTR APPMAN help

Per,

Doing that allows it to show the menu in SBASIC. If I compile with it LRESPR'd and compile without the $$asmb directive, it runs okay as well.

However, linking in with $$asmb=filename,0,64 results in a message of "String is not numeric" (!!) on the line calling APPA0.
by JonS
Thu Feb 06, 2020 9:25 am
Forum: Software & Programming
Topic: EasyPTR APPMAN help
Replies: 23
Views: 6963

Re: EasyPTR APPMAN help

Hmm...still the same. 141 REMark $$asmb=WIN1_DEV_Qlibptr_app,0,64 165 REMark $$i 170 : 1000 chan3=3 : adr=APPA0('qlib1') 1010 OPEN#chan3;'con_' 1020 MDRAW#chan3,adr 1030 REPeat loop 1040 a=MCALL(#chan3) 1050 IF a=0 THEN EXIT loop 1060 END REPeat loop 1070 CLOSE#chan3 Still get an error when running....
by JonS
Thu Feb 06, 2020 9:13 am
Forum: Software & Programming
Topic: EasyPTR APPMAN help
Replies: 23
Views: 6963

Re: EasyPTR APPMAN help

Tobias

Looks like it is at offset 64.

I am going to try a cut-down program to just display the menu screen and nothing else and work from there, using the $$asmb=name,0,64 directive, and see how it goes
by JonS
Wed Feb 05, 2020 3:49 pm
Forum: Software & Programming
Topic: EasyPTR APPMAN help
Replies: 23
Views: 6963

Re: EasyPTR APPMAN help

Maybe it's an issue with QLiberator…

1400 REMark $$asmb=WIN1_DEV_QLIB_QLIBPTR_app,0,60

14591 a=APPA0("menu1")
14595 MDRAW#c%,a

When running the compiled program I get "Indices wrong" on line 14591
by JonS
Wed Feb 05, 2020 3:17 pm
Forum: Software & Programming
Topic: EasyPTR APPMAN help
Replies: 23
Views: 6963

EasyPTR APPMAN help

I am trying to add a menu to an "appendix" prior to compiling a program. Normally, I would add the menu to a copy of the ptrmen_cde file and add the $$asmb command. However, as I always have the EasyPTR extensions loaded I thought I would create an _app type file. Having never done this be...
by JonS
Mon Jan 13, 2020 10:33 pm
Forum: Software & Programming
Topic: QLiberator decompiler
Replies: 172
Views: 55974

Re: QLiberator decompiler

If the intention is to release the sources, surely it can be left up to individuals to add such changes if they require them?
by JonS
Thu May 16, 2019 7:19 am
Forum: Software & Programming
Topic: Hex Compiling
Replies: 4
Views: 2427

Re: Hex Compiling

Why not use HEX command?
by JonS
Wed Nov 29, 2017 12:28 pm
Forum: Software & Programming
Topic: Floating point conversion
Replies: 17
Views: 7942

Re: Floating point conversion

FLOAT$(<number>)

This function takes a floating point number and returns the
internal math representation of the number as a six character
string.
...in PDTK on Dilwyn's site
by JonS
Tue Nov 28, 2017 11:25 pm
Forum: Software & Programming
Topic: BASIC: Returning non-scalar values from Procs
Replies: 12
Views: 5094

Re: BASIC: Returning non-scalar values from Procs

Ah, good old George 2! I think XEKA was the Cobol compiler. As for VME, I still use it and the screen editor after 37 years.