Ignore:
Timestamp:
Feb 19, 2008 3:45:20 PM (15 years ago)
Author:
srkline
Message:

fixing the conditional compile check for 2D XOP functions, which is not allowed in Macros...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Analysis/branches/ajj_23APR07/IGOR_Package_Files/Put in User Procedures/SANS_Models_v4.00/Models_2D/Cylinder_2D_v40.ipf

    r277 r288  
    1414///  REQUIRES DANSE XOP for 2D FUNCTIONS 
    1515 
     16 
    1617// 
    1718// the calculation is done as for the QxQy data set: 
     
    2223        Prompt str,"Pick the data folder containing the 2D data",popup,getAList(4) 
    2324         
    24 #if !exists("Cylinder_2DX") 
    25         Abort "You must have the SANSAnalysis XOP installed to use 2D models" 
    26 #endif 
    27  
     25        if (!exists("Cylinder_2DX") ) 
     26                Abort "You must have the SANSAnalysis XOP installed to use 2D models" 
     27        endif 
    2828        SetDataFolder $("root:"+str) 
    2929         
Note: See TracChangeset for help on using the changeset viewer.