It must be something else. That works in a script file for me.

On Sun, Jun 26, 2011 at 3:44 PM, Eric Martz <[email protected]>wrote:

> Consider
>
> load =3lvg
> ~tempav = {*}.temperature
> print ~tempav
> ~tempav = ~tempav%1
> print ~tempav
>
> Those commands work when typed into the Jmol console, rounding the
> average temperature (B value) from 290.90985 to 290.9.
>
> However, when I put the same commands in a script file, the modulus
> operation (~tempav%1) returns a blank value.
>
> How do I get that modulus syntax to work in a script file?
>
> Thanks, -Eric
>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to