Log In  
Follow
bernardo
[ :: Read More :: ]

I just noticed that some code I have included in my pico project via an #include statement, ist not counted against the token or char limit. This limits the usefulness of this feature which I wanted to use for a library of reusable code. Has this been discussed before? Are there common workarounds for this? What happens if my compiled code in the end exceeds the limit, while the editor shows my code still within the limits? I assume it will not run, right?

P#138977 2023-12-21 14:19

[ :: Read More :: ]

I wonder what is the scope of a variable if I define it outside of a function as "local" in Pico. So is it local to some kind of root scope within Pico? Is it local to the tab? Seems to me that it"s still possible to use this "local" variable everywhere then, right, since ever other scope is a child to this root scope?

local x=5 -- what means local here?
y=6 -- global scope
P#138839 2023-12-18 14:37