TOC PREV NEXT INDEX

 


Error Checking


The command line in following example requests W1 error checking, which includes only parsing and syntax errors:


procheck -W1 foo.tcl

The feedback from the command line with W1 specified looks similar to this:


TclPro Checker -- Version 1.4.0
Copyright (C) Ajuba Solutions Inc. 1998-2000. All rights reserved.


foo.tcl
foo.tcl:5 (numArgs) wrong # args
set x y z
^
foo.tcl:7 (noScript) missing a script
if {$x > 6}
^



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