skDisableMessage
skDisableMessage(S_functionNameS_messageName[x_occurrences] ) =>t
Description
Disables a SKILL Lint message from being reported inside a given function definition.
Often a user does not want to disable a SKILL Lint message globally but only an individual case. You can put the call to this function in the .skinit file in the user’s home directory or the your_install_dir/local directory. This function can also be inserted in the file being analyzed, outside of any function definition, before the function is defined, and SKILL Lint will recognize the call. See
Arguments
Value Returned
Examples
The following example disables the first occurrence of the SKILL Lint message Unused when SKILL Lint analyzes the function definition for testFunction.
skDisableMessage('testFunction 'Unused 1)
Related Topics
Return to top