how to import a non-data text file?
Posted: Mon Sep 30, 2013 9:17 am
Hi,
I want to import a .prg file, or a text file, and save it to a string. is there a way to do that?
later I might want to revise this string and save it back to the file.
for example, there is a .prg file path/p1.prg, in the file, the content is "Error message 1: ........, solution 1.......".
I want to import this information to a string:
wfcreate u 1900 2015
string m
read path/p1.prg
...
I tried many commands, read, pageload, none of them works.
I want to import a .prg file, or a text file, and save it to a string. is there a way to do that?
later I might want to revise this string and save it back to the file.
for example, there is a .prg file path/p1.prg, in the file, the content is "Error message 1: ........, solution 1.......".
I want to import this information to a string:
wfcreate u 1900 2015
string m
read path/p1.prg
...
I tried many commands, read, pageload, none of them works.