FILEREAD() Short: ------ FILEREAD() Lists a text file of unlimited size Returns: -------- nothing Syntax: ------- FILEREAD([nTop,nLeft,nBottom,nRight],[cFileName],[cTitle],; [lSearch],[lMark]) Description: ------------ Lists text file [cFileName] of unlimited size in a programmer definable window of dimensions [nTop..nRight] Allows up down right left scrolling. Use this for reports or output sent to a disk file. If [cFileName] is not passed, a box asks for the filespec and then allows a picklist of files of that spec. If [cFileName] is passed as a wildcard (i.e. "*.DOC"). a picklist of files of that spec is presented. If [nTop..nRight] are not passed, a default window of dimensions 2,2,22,78 is used. [cTitle] is an optional title. This overrides the default which is the file name. [lSearch] is a switch to allow text searches. Default is True [lMark] is a switch to allow block marking (with Copy to File or Print) Default is True. Examples: --------- REPORT FORM summary TO summary.txt FILEREAD(2,2,22,78,"SUMMARY.TXT","Summary File") Notes: ------- Fileread() will use SET DEFAULT if no path is specified. Source: ------- S_FILER.PRG
Pingback: SP Metafunction | Viva Clipper !
Pingback: SP Functions | Viva Clipper !