Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Understanding scope of variables
#4
(03-12-2021, 10:21 PM)RandomiserUsr Wrote: I believe scope in ZX BASIC is global and even if you include other .BAS files you have created, it seems that they all get collated then compiled as one.
Not sure if this answers your question ?

Yes, #include just puts the BASIC code at the place where the #include was placed.
Another feature for libraries is still in progress.
Reply


Messages In This Thread
Understanding scope of variables - by georgeo - 03-11-2021, 01:51 PM
RE: Understanding scope of variables - by georgeo - 03-11-2021, 11:13 PM
RE: Understanding scope of variables - by boriel - 03-12-2021, 10:32 PM
RE: Understanding scope of variables - by boriel - 03-12-2021, 10:26 PM
RE: Understanding scope of variables - by georgeo - 03-13-2021, 10:48 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)