Class pvx_tokenized_reader

The class will read a tokenized ProvideX program file and return a single program line for each read.

Build Information

Author Fred McGuirk
Date Feb 23, 2007
Outputfile pvx_tokenized_reader.pvc
Forcelinenumbers false

Constructor

Automatically convert the specified ProvideX program to a temporary text file and use [ProvideX Class:file_reader] to read it. The temporary file will be deleted when the class is destroyed.

ParameterDescription
inFile$ The name of file to read
inPassword$ **Optional** The password to decrypt a tokenized program
inPathResolver **Optional** A reference to a [ProvideX Class:path_resolver] class to expand the name of include files.

Properties

PROPERTY _version$

Methods

FUNCTION getEOF()

Get the end of file status

Returns A boolean that is set to TRUE (1) when end of data stream has been reached.
FUNCTION read$()

Returns a string containing the text for a single line read from the file.