home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
komix
/
DATA.Z
/
mtool.tcl
< prev
next >
Wrap
Text File
|
1996-12-12
|
994b
|
38 lines
#---------------------------------------------------------------------------
#
# (c) Westmount Technology 1994
#
# File: @(#)mtool.tcl /main/titanic/2
# Author: Marcel Bancken
# Description: Instantiation of Mtool
#---------------------------------------------------------------------------
# SccsId = @(#)mtool.tcl /main/titanic/2 12 Dec 1996 Copyright 1994 Westmount Technology
OtkRegister::gui
source [m4_path_name tcl libocl.tcl]
require platform.tcl
require procs.tcl
require messagehdl.tcl
require clmtool.tcl
proc usage {} {
error "Usage: otk mtool.tcl -- <dispatcher> <command> \[directory\]"
}
if {[llength $argv] < 2} {
usage
exit 1
}
# An mtool has no context. So we only look for u_mtool.tcl in m4_home
#
if [catch {set file [m4_path_name tcl u_mtool.tcl]}] {
resetErrorVars
} else {
source $file
}
ClMtool new .main [lindex $argv 0] [lindex $argv 1] [lindex $argv 2]