VMD-L Mailing List
From: Ban Arn (ban.arn_at_gmail.com)
Date: Mon Feb 06 2012 - 10:50:14 CST
- Next message: John Stone: "Re: Tcl script error"
 - Previous message: flavio seixas: "Re: PSFGEN and Reading Bonds from PDB Files"
 - Next in thread: John Stone: "Re: Tcl script error"
 - Reply: John Stone: "Re: Tcl script error"
 - Reply: Axel Kohlmeyer: "Re: Tcl script error"
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
 
Dear VMD Users
I'm using following script
foreach l [array names f] {
   set w($l) {}
   set fsum 0
   foreach ftemp $f($l) {
       set fsum [expr $fsum + $ftemp * $v * $dt]
       lappend w($l) $fsum
   }
}
for the calculation of work done for 10 simulations.
While running the script it shows error as *"missing operand at _@_
in expression "0.25771 +  _@_* 1 * 1"*
I'm not a tcl expert. Kinldy advice.
Many Thanks
Balaji
- Next message: John Stone: "Re: Tcl script error"
 - Previous message: flavio seixas: "Re: PSFGEN and Reading Bonds from PDB Files"
 - Next in thread: John Stone: "Re: Tcl script error"
 - Reply: John Stone: "Re: Tcl script error"
 - Reply: Axel Kohlmeyer: "Re: Tcl script error"
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
 



