VBS2 references on this site are not maintained anymore, and may be outdated!
Please use the new, dedicated VBS2 Wiki instead:
Direct link to Fn_vbs_areEqual
Notes
Any discussions about this function may be seen on the forums.
Please do not add new notes or start new discussions here.Notes
-
-This function is an improvement over the == operator, because
it can handle any data type in any combination.
-For arrays, it returns true if all arrays hold the same elements
in the same order.
-If all values are undefined / nil / null, then this function will return
true.
-Warning: Extremely large strings (>4k) or compiled code (from
a file, for example) might not be properly compared, if they are
only different near the end of the file.