Page 1 of 1

Callback clarificaton

Posted: Fri Aug 21, 2020 9:16 pm
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.

Re: Callback clarificaton

Posted: Fri Aug 21, 2020 9:48 pm
by basicchip
as typed you are missing a ' half-qoute for the comment -- I see it is a typo in the help file

Re: Callback clarificaton

Posted: Sun Aug 23, 2020 2:02 pm
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