Quantcast
Channel: AutoIt v3 - Developer Chat
Viewing all articles
Browse latest Browse all 750

Static & Global

$
0
0

Is possible (when Au3Check load a file, take all the names of the functions in that file, and then see if there are Gobal Static, and get to know them only in those functions that file) or to add a (Optional) directive or something like that, in order to indicate to Au3Check the names of the functions where Global Static variable will be visible, certainly AutoIt itself will know (in all parts of the script) the same as the history of the ByRef\AutoIt\Au3Check, but to add a control in Au3Check to help udf makers to be more save that their Global Static variable is not used\change\edit outside the basic function of the udf

 

for the moment the only useful is that once created in UDF Global Static variable the user can not create another variable with that name, since Au3Check report it, and this helps a lot, but the user can change\edit it (in their functions ect ect) by mistake hmmmm, it would have been nice if the Au3Check try to check this too, I know that in the end everything will never be 100% save, but at least it would help a lot

 

Ciao.


Viewing all articles
Browse latest Browse all 750

Latest Images

Trending Articles



Latest Images