Home › Forums › Puzzles › Variable In One Tab Cannot be accessed from another tab
IN the manual it say that
‘All tabs share the same namespace, so you can define procedures or variables in one tab and use them in another.’
However, I have a variable (create empty list ) in my init tab but then in another tab when I try to insert objects into the list I get the error:
VM7592:1074 Uncaught TypeError: Cannot read properties of undefined (reading ‘push’)
..as if the list cant be accessed from a different tab. Is this correct behaviour?
I think the init tab is special – it does not share the namespace with the rest of the tabs. You might initialize your variable in the main tab instead.
Chief 3D Verger | LinkedIn | Twitter
Test your math:
Log in / Register