FileScreen() - Read and display a file. Reads screen shot from a file and display to screen ──────────────────────────────────────────────────────────────────────────────
<cFileName> is the name and path to the screen file.
<nOffset> is an optional offset into the file from which a screen may be read. The default is the beginning of file.
Returns
FileScreen() returns the number of bytes read from the file.
Description
FileScreen() is used to read a screen stored in a disk file stored by using ScreenFile().
<nOffset> may be use to get a particular screen if more than one screen has been stored in the file.
Notes
■ Files may contain End-Of-File markers - these are ignored as FileScreen() always read in the number of bytes tht make up the current application window.
■ Wildcards are not permitted within filenames or paths.
■ This function does not alter the cursor position.
Examples
■ Read a screen from the beginning of a file:
FileScreen("C:\Screens\Demo1.Sht")
■ Read the second screen. Since the offset is specified as 4000, the first screen is skipped: