hello,
I'm not sure how to test if a static variable declaration in a function is going to overlap with a variable that has the same name somewhere else in the global / super global scope of the entire script. Also the documentation has left me wondering still on this specific question.
Please, do you know if this is by default going to be UNIQUE to this function alone in the entire script ?
Code: Select all
static isInitialized, patterns
if (!isInitialized) {
patterns := { "YYYY_MM_DD":regex["date", "YYYY_MM_DD"]
,"YY_MM_DD":regex.date.YY_MM_DD
,"YYYYMMDD":regex.date.YYYYMMDD
,"YYMMDD":regex.date.YYMMDD }
isInitialized := true
}
Thank you in advance for your help and time