[Solved] What is the scope of a function?

Do the functions work only within the screen that blocks included?
or can access across the screens? :face_with_raised_eyebrow:

[ Variables and invisible components can access across the screens ]

There is one example of global functions demonstrated by @actech in his Demo App. But this is not a beginner task.

Typically functions work only on the screen they are created. This is also true of the variables created by functions. They are scoped to that screen only meaning you can’t access the values on other screens.

You can, however, copy functions across screens.

2 Likes

Thanks @jared :slightly_smiling_face:
but Variables and invisible components can access across the screens. Am I correct?

Yessir! @Rumesh

1 Like