From: Myunggi Yi (myunggi_at_gmail.com)
Date: Tue Nov 21 2006 - 16:38:54 CST

Dear VMD users,

I'd like to do something like following

in C programming

for ( i =0 ; ){
sum += sum + i
}

===========>>>

in VMD tcl script for vector summation (my script)

for { set j 0 } { $j < $num1 } { incr j } {
            set sum_vec [vecadd $sum_vec [vecnorm [vecsub [lindex
$crd2 $j] [lindex $crd1 $j]]]]
        }

As you know this doesn't work.
How should I fix my script?

-- 
Best wishes,
MYUNGGI YI
==================================
KLB 419
Institute of Molecular Biophysics
Florida State University
Tallahassee, FL 32306
Office: (850) 645-1334
http://www.scs.fsu.edu/~myunggi