We should probably think about being able to switch back and forth between
Jmol variables and JavaScript variables without using JSON. At least for
the HTML5 version.

On Thu, Dec 17, 2015 at 11:04 AM, Robert Hanson <hans...@stolaf.edu> wrote:

> If I were to be able to read that back into Jmol it would need to be in
> JSON format. You would need to use:
>
> x = format("JSON",parsedData)
> write var x "t.json"
>
> and I am not certain that even then Jmol could read it,  but if it could,
> it would be by using
>
> y = eval(load("t.json"))
>
> Maybe you can experiment some, Rolf, and see what particular parsing
> actions lead to this slow down. Could be something that's fixable.
>
> Bob
> ​
>



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to