MMBasic for Windows - alphas


Author Message
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4360
Posted: 11:40am 22 Feb 2022      

  JohnS said  Are CSUBs supported?

Nope.

  JohnS said  If not, why not?

I'm not sure that MMBasic style embedded CSUBs make sense. MMB4{W|L} should probably have something completely different so they can dynamically load and call .dll/.so with C API.

  Quote  If they are, then it seems BINARY (BLOBS) should just work (with a bit of user effort to figure out how to get a PEEKable address) - right?

Peter has restricted what can be PEEKed "to HEAP, VARIABLES and PROGRAM space".

For the moment I've implemented CSUBs in MMB4L just sufficient that I can use them as blobs.

Best wishes,

Tom