New flag for "make" which specifies wavetype
JonnyCro
Would it be possible to have a new flag for the Make command which could be used instead of the /b/u/d/w/i flags. It could take a single value with the info coming from the various bits similar to the format returned by wavetype.
e.g.
make/o/WAVETYPE_OVERRIDE_FLAG=(72)/n=(100,100) temp = 1
which would make an 8bit real unsigned integer wave with 100 rows and 100 cols using the codes used by wavetype. This would allow a parent function to issue make commands to subroutines without having to (a) use duplicate (this means a wave must exist already), (b) you dont have to construct a string for "execution" by sending the correct make flags in a string parameter and (c) you dont have to have several make commands in a set of "if" or "case" statements.
Cheers
Jonny
Maybe you're using an old version that doesn't have the /Y flag, but more likely you missed it because it's not listed in the same way that the rest of the flags are for the Make operation. I've made a note to modify the command help for the Make operation to include the /Y flag with the list of other flags so it's not overlooked.
February 17, 2010 at 08:57 am - Permalink
cheers
Jonny
February 17, 2010 at 09:42 am - Permalink
February 18, 2010 at 01:18 am - Permalink