Changeset 485


Ignore:
Timestamp:
Apr 1, 2009 4:32:51 PM (13 years ago)
Author:
ajj
Message:

Add compiler directive to note if XMLUtils XOP isn't available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Common/NIST_XML_v40.ipf

    r481 r485  
    33#pragma IgorVersion=6.0 
    44 
     5 
     6#if( Exists("XmlOpenFile") ) 
     7 
    58#include "cansasXML_v11", version >= 1.10 
    6  
    79 
    810// The function is called "LoadNISTXMLData" but is actually more generic 
     
    372374 
    373375End 
     376 
     377#else   // if( Exists("XmlOpenFile") ) 
     378        // No XMLutils XOP: provide dummy function so that IgorPro can compile dependent support code 
     379        FUNCTION LoadNISTXMLData(fileName) 
     380            String fileName 
     381            Abort  "XML function provided by XMLutils XOP is not available, get the XOP from : http://www.igorexchange.com/project/XMLutils (see http://www.smallangles.net/wgwiki/index.php/cansas1d_binding_IgorPro for details)" 
     382            RETURN(-6) 
     383        END 
     384#endif  // if( Exists("XmlOpenFile") ) 
Note: See TracChangeset for help on using the changeset viewer.