Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to create a simple menu
#6
(05-12-2025, 08:48 PM)Pete Wrote: I see it isn't sending the zero value back to the calling sub.

Ah, you need to remove the parenthesis around the passing variable...

Change:    PopUpMenu (state&)  to    PopUpMenu state&

I literally made this exact same mistake about three posts ago.  I knew it was going to be something dumb.  Thanks everyone. Maybe in the next release the compiler can be made to throw a syntax error when parenthesis are used with a sub without CALL. Then again, I'm probably the only person who has this problem.
Reply


Messages In This Thread
Trying to create a simple menu - by CMR - 05-12-2025, 08:34 PM
RE: Trying to create a simple menu - by Pete - 05-12-2025, 08:48 PM
RE: Trying to create a simple menu - by SMcNeill - 05-12-2025, 09:11 PM
RE: Trying to create a simple menu - by CMR - 05-13-2025, 01:47 AM
RE: Trying to create a simple menu - by bplus - 05-12-2025, 09:05 PM
RE: Trying to create a simple menu - by Pete - 05-12-2025, 09:23 PM
RE: Trying to create a simple menu - by CMR - 05-13-2025, 03:15 AM
RE: Trying to create a simple menu - by CMR - 05-13-2025, 07:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Universal Menu Concept Pete 3 373 01-05-2026, 07:31 PM
Last Post: Pete
  Nice simple, I hope, question Mad Axeman 4 335 12-20-2025, 09:28 PM
Last Post: SMcNeill
  Is there a menu function? Mad Axeman 17 1,021 12-17-2025, 04:43 AM
Last Post: SMcNeill
Photo from png tile, create symmetrical screen image hsiangch_ong 11 935 08-23-2025, 01:23 AM
Last Post: bplus
  Simple Addition gone wrong Dimster 13 1,429 08-22-2025, 09:00 PM
Last Post: Pete

Forum Jump:


Users browsing this thread: 1 Guest(s)