Code: Select all
put fld "TemplatePath" into sFile
open file sFile for read
read from file sFile at 1 until EOF
put it into fld "fldContent"
put the first line of fld "fldContent" into wTitle
How do I now get the rest of the file into another variable? I thought it might be as simple as:
Code: Select all
put line 2 to eof into fld "fldRest"