POV-Ray : Newsgroups : povray.off-topic : Frustration : Re: Frustration Server Time
4 Sep 2024 11:15:18 EDT (-0400)
  Re: Frustration  
From: Phil Cook v2
Date: 29 Apr 2010 05:12:51
Message: <op.vbw2jscjmn4jds@phils>
And lo On Wed, 28 Apr 2010 15:49:14 +0200, Invisible <voi### [at] devnull> did  
spake thusly:

> 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?

and don't forget good practice in trans = nothing when you've finished  
with it ;-)

-- 
Phil Cook

--
I once tried to be apathetic, but I just couldn't be bothered
http://flipc.blogspot.com


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.