Hi team, I installed STAF STAF344-setup-win32.exe on my windows xp. Priorly tcl/tk 8.1.1 is installed.please clear the following doubts.
1.Does the above mentioned tcl 8.1.1 is compatible with STAF installed. 2.If it is ok....then how to execute a tcl program on STAF. could u briefly describe the execution steps of tcl file on STAF. 3.As reference to posted message we can use START PROCESS service's START request to run a TCL script. where to write or give this START command. 4.If i open the following code with wish or tcl application it shows error like"cant find package STAF while executing "package require STAF" package require STAF # First, must register with STAF if {[STAF::Register "Tcl Test"] != $STAF::kOk} { puts "Error registering with STAF, RC: $STAF::RC" exit $STAF::RC } puts "Using handle $STAF::Handle" # Submit some STAF requests puts "Testing basic functionality" STAF::Submit local PING PING if {$STAF::Result != "PONG"} { puts "Wrong output for ping request" exit 1 } if {[STAF::Submit local VAR "RESOLVE STRING {STAF/Config/MachineNickname}"] != $STAF::kOk} { puts "Error resolving machine nickname, RC: $STAF::RC, Result: $STAF::Result" exit $STAF::RC } puts "Machine Nickname: $STAF::Result" # Unregister with STAF to remove the handle if {[STAF::UnRegister] != $STAF::kOk} { puts "Error unregistering with STAF, RC: $STAF::RC" exit $STAF::RC } puts "All tests successful" Regards, Rashmi Chetty exit 0 ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users