Frieda Reichsman wrote: > On Wed, Nov 19, 2008 at 6:26 PM, Frieda Reichsman wrote: > >> How would I then see the calculated values for x and y coordinates? >> Jmol's output does not show the result of the calculations. > > On Nov 20, 2008, at 9:27 AM, Robert Hanson wrote: > >> function moveEcho >> for ( var i=0; i<250; i = i + 2 ) >> x = i >> y = 450 - i >> set echo myecho @x @y >> delay 0.1 >> end for >> end function > > Using the above, I do not see the calculated values in the Jmol > console... I get the following output in the console (repeated of > course): > If you want to see the values, add a print command within your loop:
print "x=" + x + " y=" + y; Regards, Rolf ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users