TOC PREV NEXT INDEX

 


Warning and Error Flags


You can control which types of errors and warnings are listed by TclPro Checker by specifying one of the W flags on the TclPro Checker command line. Table 8 shows the flags that control the level of messages for warning and errors.

Table 8 TclPro Checker Warning and Error Flags
Flag
Description
W1
Display parsing and syntax errors.
W2
Display parsing and syntax errors, and usage warnings.
W3
Display parsing and syntax errors, portability warnings, upgrade warnings, performance warnings, and usage warnings.
Wall
Displays all messages and errors. This is the default.

As an example, the first time you check your script you might want to display only errors but not warnings. You might first run TclPro Checker with the W1 flag, which only displays parsing and syntax errors, but does not display any warnings. After examining the output from running with the W1 flag and fixing any errors that were reported, you might run with the W2 flag to see a variety of additional warnings.




http://www.ajubasolutions.com
Voice: (650) 210-0100
Fax: (650) 210-0101
support@ajubasolutions.com
TOC PREV NEXT INDEX