Hi there,

I've been looking into COMs recently, and I've run across a dilemma. My problem is that I'm trying to retain a variable across two different COM objects. For example:

$com(a,method,2) is invoked, and I would like to use the value of this operation in another COM - $com(b,method,bstr,value of a's result)

Obviously I can use $com(b,method,bstr,$com(a).result), however this runs into problems in that I am using very large strings that surpass mIRC's variable limit.

Has anyone got any suggestions how to pass the value of the first call as a parameter to the second? I was wondering if it had anything to do with using * after the type, as I don't fully understand what this does.

Thanks!