onStartValidation()

This function runs after the start validation program in the configuration file. (New v10.9912)

This is a good event to do variable initialization.

Example 1:

function onStartValidation() {
 if matchNoCase(CSEJOBSUBTYPESTRING,"My Validation Mode") {
  $enablemycheck=true;
  // set more variables here for "My Validation Mode" jobs
 }
 else {
  $enablemycheck=false;
 }
}

Example 2:

function onStartValidation() {
 Message(true, MSG_COMMENT, "User functions loaded. Starting the validation!");
}