i tried the following code for reading from a file after opening the file.
filetype1 = FT_UNICODE
hReadFile = FileOpen(sReadFile, FM_READ, NULL, filetype1)
But this is giving compilation error as "Too Many Arguments to function FileOpen".
But the syntax and everything is Ok.
Can any one suggest me where the problem is?
Thanks in advance.
This is a very easy way:
LIST OF STRING contents = SYS_GetFileContents("C:\test\somefile.txt")
Chris R Mead
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
The ftType parameter in only valid for SilkTest International.
Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.
Another easy way is,
LIST OF STRING lsContents