
Why does this loop for wave assignments not work?

jjweimer
I have perhaps a mild flu and maybe my head is just not right from it. But ... what am I missing here?
Function CreatePseudoLangmuir() // data folders DFREF rd = root:rawdata DFREF an = root:analysis // local variables with file names string rdList = "T25;T40;T50;" string anList = "msvC23;msvC40;mvsC50;" string therd, thean variable ic, nt = 3 // process the files for (ic=0;ic<nt;ic+=1) therd = StringFromList(ic,rdList) thean = StringFromList(ic,anList) WAVE/SDFR=rd wrd = $therd WAVE/SDFR=an wan = $thean // equilibrium amount absorbed per amount of resin wan[][0] = (wrd[p][1] - wrd[p][2])/ wrd[p][0] // equilibrium concentration wan[][1] = wrd[p][2] endfor return 0 end
February 3, 2015 at 05:03 pm - Permalink
February 3, 2015 at 05:09 pm - Permalink
February 3, 2015 at 10:30 pm - Permalink
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
February 4, 2015 at 06:06 am - Permalink
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
February 5, 2015 at 09:38 am - Permalink
Larry Hutchinson
WaveMetrics
support@WaveMetrics.com
February 5, 2015 at 02:12 pm - Permalink