Changeset 54


Ignore:
Timestamp:
Mar 12, 2007 4:35:12 PM (15 years ago)
Author:
srkline
Message:

changed to count frozen traces from 1, rather than zero, to keep Jeff happy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/SASCalc/trunk/SASCALC.ipf

    r52 r54  
    100100        Variable/G root:SAS:gCalculate=0 
    101101        //for plotting 
    102         Variable/G root:SAS:gFreezeCount=0 
     102        Variable/G root:SAS:gFreezeCount=1              //start the count at 1 to keep Jeff happy 
    103103End 
    104104 
     
    648648        if(WinType("Saved_Configurations")==0) 
    649649                NewNotebook/F=1/N=Saved_Configurations /W=(480,400,880,725) 
     650                DoWindow/F SASCALC              //return focus to SASCALC window 
    650651        endif 
    651652        //append the text 
     
    665666        Variable ii 
    666667        Setdatafolder root:SAS 
    667         for(ii=ct-1;ii>=0;ii-=1) 
     668        for(ii=ct-1;ii>=1;ii-=1) 
    668669        //remove all traces, replace aveint 
    669670        // kill all waves _ct 
     
    671672                Killwaves/Z $("aveint_"+num2str(ii)),$("qval_"+num2str(ii)) 
    672673        endfor 
    673         ct=0 
     674        ct=1 
    674675        setdatafolder root: 
    675676         
Note: See TracChangeset for help on using the changeset viewer.