anyone use the functions bat lbat?
You can get it from here:
ftp://ftp.wavemetrics.net/IgorPro/User_Contributions/BatchStringUtilsDu…
I had to edit the following lines, turning pipes "|" to forward slashs to get the code to compile.
offset2= strlen(lst) | so that trailing separator is not neededoffset = strsearch(separator+tempLst,separator+item+separator,offset) | search for ";item;"I am still trying to figure how to input arguments for this code, however.
For example, this command should subtract wave1 from all waves prefixed by corr_, but no cigar.
bat(" at -= wave1", "corr_*") Any suggestions? Does anyone else use this procedure?
I don't use this code and it looks pretty old (from the use of "|" for comments). The bat function seems to work for me. You should use the "@" symbol to indicate the place to substitute waves selected with wildcards. For example
When "at" is used as shown in the quote above, you should receive an error from Igor.
December 30, 2011 at 08:38 am - Permalink
with
December 30, 2011 at 09:04 am - Permalink
December 30, 2011 at 12:15 pm - Permalink