so, where does it fail? You need to debug it. Maybe you don't have an Image
directory.


On Fri, May 9, 2014 at 10:40 AM, Brenton Horne <[email protected]>wrote:

> Hi, people I've noticed that the following code doesn't work on my Windows
> 8 PC anymore even though it did once and when I use it on my Ubuntu PC it
> works perfectly fine.
>
> The code is:
>
> name = "./Image/Work0000.png";
> nFrames = 60;
> nDegrees = 6;
> thisFrame = 0;
> width = 539;
> height = 260;
>
> message loop;
> thisFrame = thisFrame + 1;
> fileName = name.replace("0000","" + ("0000" + thisFrame)[-4][0]);
> rotate y @ndegrees;
> frame next; # only use this if you have a multiframe file.
> refresh;
> write image @width @height @fileName;
> if (thisFrame < nFrames);goto loop;endif;
> background white;##
>
> Thanks for your time,
> Brenton
>
>
> ------------------------------------------------------------------------------
> Is your legacy SCM system holding you back? Join Perforce May 7 to find
> out:
> &#149; 3 signs your SCM is hindering your productivity
> &#149; Requirements for releasing software faster
> &#149; Expert tips and advice for migrating your SCM now
> http://p.sf.net/sfu/perforce
> _______________________________________________
> 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
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to