How to use variable declared in 1 module in different module in react?
Answers
Answered by
0
Yes. Declare a variable at module level like this:
Public myvar As String
It can then be accessed from other modules.
Note, however, that global variables like this are almost never a good
Public myvar As String
It can then be accessed from other modules.
Note, however, that global variables like this are almost never a good
Similar questions