Miguel wrote:
When I tried to select the hetero component "NO" in the PDB structure
"1SDQ" with the command "select [NO]400A" in Jmol V.10.00.00 (and also
10.00.18) I got the following error message:
"invalid expression token:no : select [NO]400A line#1"
When I tried to define "NO" myself by the command "define NO 400A &
hetero" I got a similar error message:
"invalid expression token:no : define NO 400A & hetero line#1"
"FMI", the other hetero component of "1SDQ", could be selected without
any problem by the similar command "select [FMI]296A".
Q: Does "NO" belong to a group of "reserved words" or is it just a bug?
Both.
"NO" is a reserved word ... as are all script tokens.
But in your context it is a Jmol bug. When there are square brackets
around it within the context of an atom expression ... as in [NO] ... then
it should be acceptable.
Q: Is there a list of "reserved words" available for Jmol?
There is not a published list of reserved words.
The list is the set of all standalone tokens that occur in the scripting
language.
The fact that this does not work is a bug:
select [NO]400A
This is behaving correctly in that it is not legal to redefine the keyword
'no'
define NO 400A & hetero
I could not find any "NO" as word in the interactive scripting
documentation.
Q: What does "NO" mean in which context(s) in Jmol?
Regards,
Rolf
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users