>I am trying something as:
>
>SET DEVICE TO file STRTOFILE ("toPrint")
STRTOFILE accepts 2 parameters. I don't think the second parameter is optional.
You're still creating a file, just don't create a name.
strtofile('toPrint',"c:/myFile.txt")
lcFile = "c:/myFile.txt"
set device to (m.lcFile)
If it's not broken, fix it until it is.
My Blog