Bryce,

I refer to your UDF.

It works fine for me with RC1, but not 4.02. Is there anything I should know?

my test script:

code:

break on


call "dirplus.udf"


$dir=dirplus("h:\temp", "*.*", 1, 0)


vartypename($dir) ?


for each $thing in $dir
$thing ?
next


the output on RC1 is

code:

Variant[]
h:\temp\dilbert.gif
h:\temp\file
h:\temp\file2

but 4.02 returns nothing and just exists on the UDF.

cj