[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: getting the hex out...



PureBytes Links

Trading Reference Links

--- In amibroker@xxxxxxxxxxxxxxx, Dennis Brown <see3d@xxx> 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



------------------------------------

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/