State vs Scope- observation


Just an observation to clarify Scope vs State. Scope refers to the existence of variables- i.e. variables defined within a function only exist within that function.

State (introduced in 349-5) refers to the availability of a variable/function. If a variable or function is defined in a cell, it becomes available in every other code cell.

1 Like

Hi @nawaazramjanee: mind providing the mission link? Thanks!