Description |
Copies an external text file to the system ramtext "ramtext". So the function complies with
COPYFILE(textfile,"ramtext")
Additional to the normal text files you can specify also an URL which is achievable via the http protocoll.
Example:
LoadTemplate('http://www.everywhere.com/any_site.html')
Here different substitutions are executed with SUBST and finally with CGIWRITETEMPLATE transmitted to the client.
Example:
LoadTemplate('templates/addressoutput.html')
WHILE i++ <= MaxLabel(db) DO
SUBST('#'+Label(db,i)+'#',db,i,1+4) // HTML and at the end of
// the line
END
CGIWriteTemplate
Information: This little fragment of a program replaces all fields of a table including the memos.
|