--- In [email protected], "forxtra" <forx...@...> wrote:
>
> I expected as you said.
> 
> Result:
> 
> 1. explicit local
> local uFolder = unicode.new(?#C:\#)
> unicode.file_watchfolder(uFolder, "Win.Debug(,)")
> //=> u_3001 u_3001
> - folder info is overwritten with a file.
> 
> 
> 2. implicit local within expression
> unicode.file_watchfolder(unicode.new(?#C:\#), "Win.Debug(,)")
> //=> u_3001 u_3002

Hmm, I wouldn't have expected that.  I'll duplicate and see what's going on.   
I would expect u_3001 to be invalidated after
expression finishes, and therefore to be available for 
file name.

> In case of #2, it seems not to increase handle counts.
> So when evaluating Arg(2), handle might be assigned sequentially.

In case of #2, is u_3001 a valid handle?  I'll experiment and find out...or 
let me know if you do before me.

 


Reply via email to