Jmol users --

new feature: PROMPT command

see http://chemapps.stolaf.edu/jmol/docs/index.htm?ver=12.0#prompt

new feature: prompt(label,data,asButtons)
   x = prompt("testing") # just shows an OK box    x =
prompt("testing","defaultInput") # returns user input or "null"
   x = prompt("testing","yes|no|cancel", true) # displays buttons and
returns 1, 2, or 3

and

http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm

These are quite versatile and should fine use both in debugging scripts and
general scripting.

Bob

-- 
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
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to