for these phrases you need to use double quotes

echo "%{_currentModelNumberInFile}"

Not 100% sure it should be that way, but it is.




On Sat, Jan 18, 2014 at 7:14 PM, Angel Herráez <[email protected]> wrote:

> I am having an error with Jmol/Java with a variable echo in a multiframe
> model.
>
> Part of my script is:
>
> load trajectory "mdtop::x.tpp.gz" coord "mdcrd::x.coord.gz";
> set echo top right; echo %{_currentModelNumberInFile};
>
> This used to work with a former Jmol version
> but now it throws an error and halts:
>   ( using 14.1.6_dev  , jmol-14.1.6_2014.01.16c )
>
> script compiler ERROR: unexpected }
> ----
>          echo %{_currentModelNumberInFile <<<<
>
>
> Thanks for any hints.
>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Larson-Anderson Professor 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
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to