Callback clarificaton

Questions about the BASICtools and MakeItC
Post Reply
olzeke51
Posts: 414
Joined: Sat May 17, 2014 4:22 pm
Location: South Carolina

Callback clarificaton

Post by olzeke51 »

I am having trouble with this statement in your on-line Help page for "GOSUB"

Code: Select all

CALL_1_ADDR = 0       globally define a CALLBACK address  
'
where is this in relationship to the Main: label ???
'
Thank you,
Olzeke51
'
PS. I had some earlier notes on 'callbacks program flow' that are now outdated.



basicchip
Posts: 1090
Joined: Fri Oct 19, 2012 2:39 am
Location: Weeki Watchee, FL
Contact:

Re: Callback clarificaton

Post by basicchip »

as typed you are missing a ' half-qoute for the comment -- I see it is a typo in the help file

olzeke51
Posts: 414
Joined: Sat May 17, 2014 4:22 pm
Location: South Carolina

Re: Callback clarificaton

Post by olzeke51 »

Thank You, I had forgotten about the in's and out's of DIM
to clarify for others:

. CALL_1_ADDR = 0 'globally define a CALLBACK address
.
HAS to go before the other DIMmed Global Variables [if you have any that are DIM'd]
.
olzeke51
PS> Main: is obviously under the SUBs
but before the re-assignment of CALL_1_ADDR

Post Reply