well, with the search you would have found file-writers, but you are right, not simple writefile() is there.

the reason is very simple.
it's because writefile is simple.

here is an example writefile udf:
function writefile($file,$data)
dim $filehandle,$RC
$filehandle=freefilehandle
$RC=open($filehandle,$file,5)
$RC=writeline($filehandle,$data)
$RC=close($filehandle)
endfunction
_________________________
!

download KiXnet