For future reference:
'echo {_modelName};' displays the string literal "{_modelName}"
'var x = _modelName; echo @x' works great.
Similarly, 'echo @_modelName;' works as desired.
Thanks again, Angel.
- N David Brown
2009/6/19 N David Brown <[email protected]>:
> My hero, thanks Angel :)
>
> - N David Brown
>
>
>
> 2009/6/19 Angel Herráez <[email protected]>:
>> David, try to put it between braces
>> echo {_modelName}
>>
>> I don't yet understand the braces, but there's much JmolMagic in them
>> :-)
>>
>> Other choice:
>> var x = _modelName
>> echo @x
>>
>>
>>
>
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users