
NewDataFolder error "expected name"

aboris
String SavedDF = GetDataFolder(1) NewDataFolder root:LineFitting: SetDataFolder root:LineFitting String Path = UniqueName("Fit_"+nameofwave(DataY)+"V"+nameofwave(DataX),11,0) Overwrite =1 if (Overwrite) Variable PathLen = strlen(path) - 1 Variable n = max(0, str2num(Path[PathLen]) - 1) Path = Path[0,PathLen-1]+num2str(n) endif Path = "root:LineFitting:'path'" NewDataFolder Path
Is it possible that this is an issue with the new Igor version, or is there a problem with the use of the NewDataFolder command here?
May 19, 2014 at 11:21 am - Permalink