Description
Returns the text within a file.
Syntax
target.file.GetText( file )
file (input) - file that you want to work with
Return value
This function returns the contents of the specified file as a string.
Sample'---------- Start ----------Function Start trg.Message( target.file.GetText( "C:\FileTestFolder\trgFileSample.txt" ) ) End FunctionSee also
'---------- Start ----------
Function Start
trg.Message( target.file.GetText( "C:\FileTestFolder\trgFileSample.txt" ) )
End Function
Platform Objects and Methodstarget.file.GetSizetarget.file.IsLockedtarget.file