Files
sics/mcstas/dmc/batch.tcl
2012-11-15 12:39:51 +11:00

9 lines
163 B
Tcl

proc SplitReply { text } {
set l [split $text =]
return [lindex $l 1]
}
proc batchrun file {
fileeval [string trim [SplitReply [BatchRoot]]/$file]
}