Unit 'SQLDB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TSQLScript.OnDirective

Event handler if a directive is encountered.

Declaration

Source position: sqldb.pp line 764

published property TSQLScript.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

Directives

  

List of directives.


Documentation generated on: Nov 23 2024