Added changes for batchmode

This commit is contained in:
Gerhard Kitzler 2014-01-31 09:36:34 +00:00
parent 088bda222f
commit 7de7e6b79c

View File

@ -1,7 +1,15 @@
if {[catch {package require Tix } result ]} { set batchmode [Ng_GetCommandLineParameter batchmode]
puts "cannot load package Tix" if {$batchmode=="undefined"} {
puts "error : $result" if {[catch {package require Tix } result ]} {
puts "cannot load package Tix"
puts "error : $result"
}
} }
# if {[catch {package require Togl 2.0 } result ]} {
# puts "cannot load package Togl 2.0"
# puts "error : $result"
# }
# if {[catch {package require Togl 2.0 } result ]} { # if {[catch {package require Togl 2.0 } result ]} {
# puts "cannot load package Togl 2.0" # puts "cannot load package Togl 2.0"