TOC PREV NEXT INDEX

 


A Listing of the Messages


Table 16 lists the messages that the TclPro Checker can produce.

Table 20 TclPro Checker Messages 
Message ID
Message Type
Explanation
argAfterArgs
Error
Argument specified after "args"
argsNotDefault
Error
"args" cannot be defaulted
badBoolean
Error
Invalid Boolean value
badByteNum
Error
Invalid number, should be between 0 and 255
badColorFormat
Error
Invalid color name
badColormap
Error
Invalid colormap "colormap": must be "new" or a window name
badCursor
Error
Invalid cursor spec
badEvent
Error
Invalid event type or keysym
badFloat
Error
Invalid floating-point value
badGeometry
Error
Invalid geometry specifier
badGridMaster
Error
Cannot determine master window
badGridRel
Error
Must specify window before shortcut
badIndex
Error
Invalid index: should be integer or "end"
badInt
Error
Invalid integer
badKey
Error
Invalid keyword "key" must be: words
badLevel
Error
Invalid level
badLIndex
Error
Invalid infants: should be integer, "len" or "end"
badList
Error
Invalid list: error-info
badMemberName
Error
Missing class specifier for body declaration
badMode
Error
Access mode must include either RDONLY, WRONLY, or RDWR
badOption
Error
Invalid option "option" must be: options
badPalette
Error
Invalid palette specification
badPixel
Error
Invalid pixel value
badPriority
Error
Invalid priority keyword or value
badProfileOpt
Error
Option "option" not valid when turning off profiling
badResource
Error
Invalid resource name
badScreen
Error
Invalid screen value
badSticky
Error
Invalid stickiness value: should be one or more of n, s, w, or e
badSwitch
Error
Invalid switch: "switch"
badTab
Error
Invalid tab list
badTabJust
Error
Invalid tab justification "tab-item": must be left right center or numeric
badTlibFile
Error
The filename must have a ".tlib" suffix
badTraceOp
Error
Bad operation operation should be one or more of r, w, or u
badVersion
Error
Invalid version number
badVirtual
Error
Virtual event is badly formed
badVisual
Error
Invalid visual
badVisualDepth
Error
Invalid visual depth
badWholeNum
Error
Bad value "value": must be a non-negative integer
classNumArgs
Error
Wrong # args for class constructor: className
classOnly
Error
Command "command" only defined in class body
errBadBrktExp
Error
The bracket expression is missing a close bracket
mismatchOptions
Error
The specified options cannot be used in tandem
noEvent
Error
No events specified in binding
noExpr
Error
Missing an expression
noScript
Error
Missing a script after "control"
noSwitchArg
Error
Missing argument for switch switch
noVirtual
Error
Virtual event not allowed in definition of another virtual event
nonDefAfterDef
Error
Non-default arg specified after default
nonPortBitmap
Non-Portable Warning
Use of non-portable bitmap
nonPortChannel
Non-Portable Warning
Use of a non-portable file descriptor, use "file" instead
nonPortCmd
Non-Portable Warning
Non-portable command
nonPortColor
Non-Portable Warning
Non-portable color name
nonPortCursor
Non-Portable Warning
Non-portable cursor usage
nonPortFile
Non-Portable Warning
Use of non-portable file name, use "file join"
nonPortKeysym
Non-Portable Warning
Use of non-portable keysym
nonPortOption
Non-Portable Warning
Use of non-portable option
nonPortVar
Non-Portable Warning
Use of non-portable variable
nsOnly
Error
Command "command" only defined in namespace body
nsOrClassOnly
Error
Command "command" only defined in class or namespace body
numArgs
Error
Wrong # args
numListElts
Error
Invalid number of list elements
obsoleteCmd
Error
Deprecated usage, use "command" instead
optionRequired
Error
Expected option1, got "option2"
parse
Error
Parse error: error-info
procNumArgs
Error
Wrong # args for the user-defined proc: procName.
procOutScope
Error
Proc only defined in class className
procProtected
Error
Calling protectionLevel proc: procName
serverAndPort
Error
Option myport is not valid for server sockets
socketAsync
Error
Cannot use -server option and -async option
socketServer
Error
Cannot use -async option for server sockets
tooManyFieldArg
Error
Too many fields in argument specifier
warnAmbiguous
Usage Warning
Ambiguous switch, use delimiter to avoid conflicts
warnDeprecated
Upgrade Warning
Deprecated usage, use "command" instead
warnEscapeCharacter
Upgrade Warning
"\<char>" is a valid escape sequence in later versions of Tcl.
warnExportPat
Warning
Export patterns should not be qualified
warnExpr
Performance Warning
Use curly braces to avoid double substitution
warnExtraClose
Usage Warning
Unmatched closing character
warnIfKeyword
Warning
Deprecated usage, use else or elseif
warnNamespacePat
Warning
glob chars in wrong portion of pattern
warnNotSpecial
Upgrade Warning
"\<char>" has no meaning. Did you mean "\\<char>" or "<char>"?
warnPattern
Warning
Possible unexpected substitution in pattern
warnQuoteChar
Upgrade Warning
"\" in bracket expressions are treated as quotes
warnRedefine
Usage Warning
userProc1 redefines userProc2 in file fileName on line lineNum
warnReserved
Upgrade Warning
Keyword is reserved for use in version
warnUndefProc
Warning
The procedure was called but was never defined
warnUnsupported
Error
Unsupported command, option or variable: use command
warnVarRef
Warning
Variable reference used where variable name expected
warnY2K
Warning
%y generates a year without a century. Consider using %Y to avoid Y2K errors
winAlpha
Error
Window name cannot begin with a capital letter
winBeginDot
Error
Window name must begin with "."
winNotNull
Error
Window name cannot be an empty string




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