TABLE OF CONTENTS


::pwtk::xcd::runScript

SYNOPSIS

proc ::pwtk::xcd::runScript {flag} {

PURPOSE

Inform PWTK when to run xcrysden script.

ARGUMENTS

The meaning of the flag values:

SOURCE

    variable runScript
    if { $flag != 0 && $flag != 1 && $flag != 2 } {
        ::pwtk::error "wrong flag received in ::pwtk::xcd::runScript, must be:\n0 -- do not run xcrysden script\n1 -- run xcrysden script\n2 -- run only if picture does not exist yet" 
    }
    set runScript $flag
}