Check if string is Pascal keyword
Source position: pascodegen.pp line 87
public function TPascalCodeGenerator.IsKeyWord( |
const S: string |
):Boolean; virtual; |
S |
|
String to check |
True if string is a keyword
IsKeyWord checks if the given string is a Pascal language keyword. It performs a case-insensitive comparison against a complete list of Pascal keywords including reserved words, operators and built-in identifiers.
|
Escape Pascal keyword if needed |