Invisible escreveu:
> Invisible wrote:
>
>> set trans = CreateObject("NameTranslate")
>> trans.Init 3, ""
>> trans.Set 3, "domain\user"
>> set name = trans.Get(1)
>> WScript.Echo name
>>
>> Only trouble is... it doesn't work.
>
> Oh my god.
>
> Apparently you have to delete the word "set" on line 4. And then it
> works perfectly. WTF?
>
> 2 hours to figure that out. Fantastic. >_<
yeah, nothing like good ol' RTFM instead of trial and error...
--
a game sig: http://tinyurl.com/d3rxz9
Post a reply to this message
|