>>>>Anybody care to try that with VFP? No file input, and no cursors. :)
>>>
>>>If it's ran from a prg
>>
>lc_prg = PROGRAM(0)
>>>? FILETOSTR(lc_prg + ".PRG")
>>
>>That breaks the "no file input" rule. :-)
>
>I assumed "no file input" meant no passing the file in as a parameter.
Nope. Read the link from the original post: that method is explicitly disallowed.