--- In [email protected], Dennis Brown <[EMAIL PROTECTED]> wrote:

> I have a problem where I need to make my static variable names unique  
> by appending a unique key string to them.  The key is generated from  

I'm assuming this is at runtime.  Would a GUID suit your purposes? 
e.g. MyVar1_8EA7256DFE214820AAB1BE58E2898A0A

In JScript:

function CreateGuid()
{
    var typeLib = new ActiveXObject("Scriptlet.TypeLib");
    var guid = typeLib.Guid.substr(1,36);
    return guid.replace(/-/g, "");
}


Tuzo


Reply via email to