hides global declaration warnings
i often create function that hides global declarations, there somehow to avoid this problem ?
i need to create several function that catch the same variable of the onstart(),
to code it faster and easy to read i desire that all my functions have the same name but its another declaration, so i get the warning
i found in Internet that it is possible in other language like swift that you need to put #someInteger in the function to refer that it's same name.
it is possible use the same name in the function and the global avoiding problems?
problem example code:
i often create function that hides global declarations, there somehow to avoid this problem ?
i need to create several function that catch the same variable of the onstart(),
to code it faster and easy to read i desire that all my functions have the same name but its another declaration, so i get the warning
i found in Internet that it is possible in other language like swift that you need to put #someInteger in the function to refer that it's same name.
it is possible use the same name in the function and the global avoiding problems?
problem example code: