[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sqldb' (#fcl)

TSQLScript.OnDirective

Event handler if a directive is encountered

Declaration

Source position: sqldb.pp line 658

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 14 2015