Marcus wrote: > I need to make an file . TXT It is very easy to do.
> I can do it in a method of Cache my system is into VB but a don`t know if I
> can make a method that does it.
/// overwrite a text file
ClassMethod TextFileSave(TxtFilePathName As %String) As %Status
{
s file=##class(%File).%New(TxtFilePathName)
s status=file.Open("WNS")
q:status'=1 0
f {q} ;put code here to write records
d file.Close()
q 1
}
