Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error on function returning _mem
#4
(07-04-2025, 08:04 PM)DSMan195276 Wrote: _MEM is more like a built-in UDT rather than a native type, it can't be returned from functions (except for from some special built-in functions like `_MEMNEW()`).

QB64 also doesn't help you here because the `declare function` lines are ignored and aren't actually checked for validity.
Okay. I am a bit confused; I had hoped to bypass the limit imposed on function typing by working around the issue with a _mem.
Thank you for the explanation!
Reply


Messages In This Thread
error on function returning _mem - by Herve - 07-04-2025, 07:52 PM
RE: error on function returning _mem - by Herve - 07-04-2025, 08:29 PM
RE: error on function returning _mem - by Jack - 07-04-2025, 08:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mac debugger not connecting, a user error! BlameTroi 0 99 02-07-2026, 06:18 PM
Last Post: BlameTroi
Star Suggestion for new REPLACE$() function zaadstra 3 238 01-26-2026, 05:11 PM
Last Post: grymmjack
  ERROR MESSAGES COLORS ? aurel 5 384 01-02-2026, 11:26 AM
Last Post: aurel
  Is there a menu function? Mad Axeman 17 1,019 12-17-2025, 04:43 AM
Last Post: SMcNeill
  Using CONST & _RGB used together seem to error... Dav 12 685 12-12-2025, 12:29 AM
Last Post: Dav

Forum Jump:


Users browsing this thread: 1 Guest(s)