DisableErrors
Function used to deactivate all the script lines following errors. Errors that occur in an EKL script after you called DisableErrors is stored in a list.
Signature
DisableErrors([iDisableErrors : Boolean, iDisableWarnings : Boolean, iDisableInformations : Boolean])
Arguments
Name | Input / Output | Required? | Type | Comment |
---|---|---|---|---|
iDisableErrors | In | No | Boolean | Let you disable information messages only. |
iDisableWarnings | In | No | Boolean | Let you disable warning messages only. |
iDisableInformations | In | No | Boolean | Let you disable error messages only. |
Example
let resourceToFind(Feature) let resourceName(String) let listOfErrors(List) […] DisableErrors() resourceToFind = AccessResource(resourceName, "Feature") listOfErrors = EnableErrors() if resourceToFind == NULL { /* Treat the case where the resource was not found */ […] }