Changeset 31


Ignore:
Timestamp:
May 15, 2008 3:56:50 PM (12 years ago)
Author:
prjemian
Message:

fixes #1
provides documentation for IgorPro? binding

Location:
1dwg/trunk/IgorPro
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • 1dwg/trunk/IgorPro/cansasXML.ipf

    r27 r31  
    448448// ================================================================== 
    449449 
    450 FUNCTION CS_fileExists(fileName) 
    451         // checks if a file can be found and opened 
    452         // !!! not needed by 2008-03-13 change in XmlOpenFile() 
    453         STRING fileName 
    454         VARIABLE refNum 
    455         Open/R/Z/P=home refNum as fileName 
    456         IF (V_flag == 0) 
    457                 CLOSE refNum 
    458         ENDIF 
    459         RETURN( !V_flag ) 
    460 END 
    461  
    462 // ================================================================== 
    463  
    464450FUNCTION CS_appendMetaData(key, xpath, value) 
    465451        STRING key, xpath, value 
     
    665651    // TrimWhiteSpace (code from Jon Tischler) 
    666652    String str 
    667     str = TrimWSL(str) 
    668     str = TrimWSR(str) 
    669     return str 
     653    return TrimWSL(TrimWSR(str)) 
    670654End 
    671655 
Note: See TracChangeset for help on using the changeset viewer.