TSQLScript.OnDirective property
Event handler if a directive is encountered.
Declaration
property OnDirective: TSQLScriptDirectiveEvent read FOnDirective write FOnDirective;Description
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 \^ ;See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
