Apr-12-2020, 02:33 PM
(Apr-12-2020, 02:24 PM)TomToad Wrote: Before you can subscript a variable, the variable must already exist. So when you do c[0] = 5, it first will search the local scope for c, and not finding it, will search the global scope for c.
So in my example a&b already existed outside the object so why are they not found inside as is c ?