Returns the contents of a text file as a single string.
Version V16-SP0-113 and older reported the following when in error:
#SPPFileMissing!
This function now returns the following when in error:
#SPPFILEMISSING!
If your project references the original error in any rule please allow for this change.
This change allows the function IsErrorString to be used in conjunction with the message returned.
SppOpenTextFile([File Name])
Where:
File Name is the full path and extension to the text file to open.
Rule | Result | Meaning |
---|---|---|
SppOpenTextFile("C:\DriveWorks\MyWebsites.txt") | www.DriveWorks.co.uk | Will return the contents of the file MyWebsites.txt. |