RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TParser.TokenComponentIdent Method

Checks if the current token in the file is a valid component symbol.

Pascal
function TokenComponentIdent: string;
C++
__fastcall AnsiString TokenComponentIdent();

Call TokenComponentIdent to check if the current token in the file is symbol that legitimately represents a component. Namely, that it must start with a letter or number, and only contain alphanumeric and underscore characters. If it is valid, the string value of the token is returned. If not, a EParseError exception is raised. 

 

EParseError 

OnError 

toSymbol

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!