In reference to my HASH UDF...

http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=208057#Post208057

The code defines and uses variables within an execute statement. When setting Setoption ('Explicit', ON), KiX tags defined variables within the execute statement as undeclared.

I can't wrap my mind around an way to handle this generically. So far I can only set Explicit to OFF.

Can anyone provide insight that may address this issue? The arrays in question need to be global and I defined them that within the UDF. One of my concerns is that each "execute" statement is a script unto itself, yet they need to access these global arrays. Adding Dim to them would seem to isolate the data. Using Global again seem silly.
_________________________
Home page: http://www.kixhelp.com/hb/