Mod /
Warnings
Search:  


Table Of Contents (show)

  1. 1. Warnings

1.  Warnings

Warnings are messages that are significant only during development time. These are usually output via the .Warn command.

Warnings in Mod can be enabled one of two ways.

One is by running your application with wize -Wall.

Alternatively, if you are using Mod with the standard Tcl/Tk wish shell, you can add the following to the top of your program:

  set env(TCL_WARN) all
  package require Mod
  # ...

Or alternatively, set the env variable. On unix for example:

  TCL_WARN=all wish myprog.tcl

© 2008 Peter MacDonald

Page last modified on January 10, 2010, at 07:11 PM