|
From: Hans-Bernhard B. <br...@ph...> - 2005-09-16 11:46:10
|
Mike L. wrote: > Gentlemen, > > Is there any way to use the IF - REREAD loop to integrate with the > trapazoidal rule? Using a file loop for that is likely the wrong approach. Finite recursion, as shown in one of our demos, generally works better. > If I say a=a+1, an error message appears, "undefined > variable. a" Well, so define it before you run the loop file. A simple a = 0 before you load the loop script should work. You can put some, but not all initializations for a loop script inside the script itself. |