control.tcl
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009 package require Tcl 8.2
00010
00011 namespace ::control {
00012 variable version 0.1.3
00013 namespace export assert control do no-op rswitch
00014
00015 ret control (type command , type args) {
00016 # Need to add error handling here
00017 namespace eval [list $command] $args
00018 }
00019
00020
00021 variable home [file join [pwd] [file dirname [info script]]]
00022 if {[lsearch -exact $::auto_path $home] == -1} {
00023 lappend ::auto_path $home
00024 }
00025
00026 package provide [namespace tail [namespace current]] $version
00027 }
00028