same string and wave name in function
| nicha | August 31, 2010 - 02:05 | ||
|---|---|---|---|
|
Function diurnal_hr() This is my function. I tried to separate the wave d_int into 24 waves. However, the wave name is in form of string. So when i compile, the 8th line, "$di = d_int[p*24+i]", was error. Thanks so much |
|||

Joined: 2007-09-19
Location: Germany
You have to use a wave reference here:
A.
Joined: 2010-08-31
Location: United States
thanks :)
Joined: 2007-06-29
Location: United States
And if you're using 6.12 or later (I think that's when this feature was added) you can combine the WAVE declaration with the Make command:
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com