[Thread Prev][Thread Next][Index]

Re: forcing multiple evaluation of a function



Andrew,
Thanks for the suggestion.  Sadly, it doesn't work - the function is still
not re-evaluated when called inside a loop.

Any other suggestions?

Brian

On Mon, 28 May 2001, Andrew Wittenberg wrote:

> Hi Brian,
> 
> You might try putting the external function evaluation all by itself 
> inside a .jnl file:
> 
> ! omegasort.jnl
> list omegasort_exc(om,pr)
> 
> and then call that .jnl file from inside the loop:
> 
> yes? repeat/l=1:2 go omegasort
> 
> Let me know if this works!
> 
> Andrew
> 
> ----------------------------------------------------------------------
> Andrew Wittenberg          Program in Atmospheric and Oceanic Sciences
> andyw@splash.princeton.edu                        Princeton University
> ----------------------------------------------------------------------
> 
> 

----------------------------------------------------
Brian Rose 		 rose@cerca.umontreal.ca

Atmospheric and Oceanic Sciences, 
McGill University
	and / et 
Centre de recherche en calcul appliqué 



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement