RAD Studio VCL Reference
TParser.Create Constructor

Creates a TParser class instance.

constructor Create(Stream: TStream; AOnError: TParserErrorEvent = nil);
__fastcall TParser(TStream Stream, TParserErrorEvent AOnError = nil);

Call Create to instantiate a TParser object at runtime.  

The file to be parsed is defined by Stream. AOnError optionally defines an object method to be called when a parsing error is encountered. After this method returns, an Exception is raised anyway. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!