I would like to see support for binary variables in COM objects. This could be supported without breaking existing scripts like this:
Code:
; To retrieve result into binary variable:
$com(object,&binvar).result
;To pass binary variable to object:
$com(object,method,3,bstr&,&binvar)
;To pass literal text "&binvar" to object (current behaviour):
$com(object,method,3,bstr,&binvar)
This would greatly reduce the number of workarounds needed when retrieving long strings
This would be completely invaluable for working with COM objects.
COMs are generally used to get around the limitations of the mIRC scripting language, however at the moment they are bound by the string limit imposed by mIRC. Completely support this idea, I'm sick of doing the horrible and very inefficient workarounds!