[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Event handler if a directive is encountered
Source position: sqldb.pp line 699
published property TSQLScript.OnDirective : TSQLScriptDirectiveEvent |
OnDirective is called when a directive is encountered. When parsing the script, the script engine checks the first word of the statement. If it matches one of the words in Directives property then the OnDirective event handler is called with the name of the directive and the rest of the statement as parameters. This can be used to handle all kind of pre-processing actions such as Set term \^ ;
|
List of directives |