User`s guide
APPENDIX A Function Reference
User’s Guide 161
Examples To create a unique identifier:
uGuid() // returns for example A8A10D9F-963F-4914-8D6F-
C8527A50EF2A
uMD5
Description Allows you to generate a checksum with a fixed length of 32 characters from
a given string.
Syntax string uMD5(text)
Parameters
string text
The text to build a checksum on.
Examples uMD5("Austin Powers") // returns
"C679A893E3DA2CC0741AC7F527B1D4EB"
uScriptLoad
Description Loads and evaluates JavaScript and returns the result.
Syntax string uScriptLoad(filelocation)
Parameters
string filelocation
The JavaScript file to load.
Examples To load an external JavaScript file:
uScriptLoad("\\server3\myScripts\basicFunctions.js")
uSetEnv
Description Writes a value to an environment variable
Syntax string uSetEnv(variable, value)
Parameters
string variable
Name of the environment variable to set