SAS
SAS is a software package for statistics. It provides an ActiveX automation server that allows Tcl access its services.
package require myrmecox
set obWS [::tcom::ref createobject "SAS.Workspace"]
set obDS [$obWS DataService]
set obLibref [$obDS AssignLibref "mysaslib" "" "c:\mysaslib" ""]
puts [$obLibref Name]
$obDS DeassignLibref [$obLibref Name]
$obWS Close
exit
|