QPC2 MultiBASIC: Load SBASIC machine code function resident

Anything QL Software or Programming Related.
User avatar
dilwyn
Mr QL
Posts: 3157
Joined: Wed Dec 01, 2010 10:39 pm

Re: QPC2 MultiBASIC: Load SBASIC machine code function resident

Post by dilwyn »

tofro wrote: Tue Aug 19, 2025 5:23 pm And it wouldn't hurt if you don't as it apparently didn't bother anyone for the last 20 years..... :)
:)
tofro wrote: Tue Aug 19, 2025 5:23 pm (It escapes my why someone would want to load SBASIC extensions into a daughter BASIC only - It maybe makes sense when you're developing an extension, but in "normal operation" it is likely just a good method to intensely confuse yourself)
Strangely enough, I do get asked (and usually refuse because I know what'll happen with endless support requests) to supply sources to my programs which install their extensions just in the SBASIC jobs in which they are run.

I happen to agree with you, but I know plenty who wouldn't.

It gets really confusing when people try to LRESPR system extensions like menu_rext locally into an SBASIC job and you have to explain it...


User avatar
tofro
Font of All Knowledge
Posts: 3188
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: QPC2 MultiBASIC: Load SBASIC machine code function resident

Post by tofro »

dilwyn wrote: Tue Aug 19, 2025 5:34 pm
It gets really confusing when people try to LRESPR system extensions like menu_rext locally into an SBASIC job and you have to explain it...
But that is definitly mentioned in the manuals.....


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
User avatar
dilwyn
Mr QL
Posts: 3157
Joined: Wed Dec 01, 2010 10:39 pm

Re: QPC2 MultiBASIC: Load SBASIC machine code function resident

Post by dilwyn »

tofro wrote: Tue Aug 19, 2025 5:42 pm
dilwyn wrote: Tue Aug 19, 2025 5:34 pm
It gets really confusing when people try to LRESPR system extensions like menu_rext locally into an SBASIC job and you have to explain it...
But that is definitly mentioned in the manuals.....
Exactly.

I make these mistakes myself from time to time. But I try to learn from them, at least.


User avatar
pjw
QL Wafer Drive
Posts: 1640
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: QPC2 MultiBASIC: Load SBASIC machine code function resident

Post by pjw »

tofro wrote: Tue Aug 19, 2025 5:23 pm <>
And it wouldn't hurt if you don't as it apparently didn't bother anyone for the last 20 years..... :)
And Ive known about it these past 20 years. Awfully sorry I never mentioned it.. :P
tofro wrote: Tue Aug 19, 2025 5:23 pm (It escapes my why someone would want to load SBASIC extensions into a daughter BASIC only - It maybe makes sense when you're developing an extension, but in "normal operation" it is likely just a good method to intensely confuse yourself)
I usually test unknown, "foreign" extensions in an SBASIC daughter job. Less chance of total system meltdown. Also to check and compare, etc. During development I always test my code in a daughter SBASIC.


Per
I love long walks, especially when they are taken by people who annoy me.
- Fred Allen
Post Reply