Thu, 06/22/2017 - 08:17 am
I get a function execution error for make. name already exists as a wave. I've run a search through all my procedure files, and confirmed that every single time I use 'make' I use make/o(with whatever other flags are relevant for that wave). Is there some implicit use of 'make' in native Igor functions that can throw this error?
Right click on the code check 'Enable Debugger' & 'Debug on Error'. It should stop after the line that causes the error.
HJ
June 22, 2017 at 09:12 am - Permalink
June 22, 2017 at 01:03 pm - Permalink
make/o y
make/o z
make/o p
make/o q
make/o t
etc...
That's why I prefix wave names with
w_
.best,
_sk
June 23, 2017 at 12:50 am - Permalink
Speaking of that, which IP version causes the anomalous error?
HJ
June 23, 2017 at 01:21 am - Permalink
Yes, indeed the error is, as you suggested, name already exists as a function. Although it need not be triggered at compile time but on runtime if executed as a string, i.e.:
execute/q "make/o x"
(compiles fine, runtime error on some interpreter level compilation, I guess).best,
_sk
June 23, 2017 at 02:06 am - Permalink
This info might help to trace the mistake.
HJ
June 23, 2017 at 04:59 am - Permalink
June 23, 2017 at 10:20 am - Permalink