XML.loadFile("mySettings.xml") acting weird.

Hello again! :stuck_out_tongue:
I’ve been having this issue in which I run your xmlSettingsExample and this following part works ok.

  
  
 //we load our settings file  
 if( XML.loadFile("mySettings.xml") ){  
     message = "loadOkay loaded!";  
 }else{  
     message = "unable to load mySettings.xml check data/ folder";  
 }  
   

But when I try to use it in my application I have to explicitly ask for it to be false in order to be true… like so:

  
 if( XML.loadFile("mySettings.xml") == false ){  
     message = "loadOkay loaded!";  
 }else{  
     message = "unable to load mySettings.xml check data/ folder";  
 }  

I don’t know what to make of this since the implementation says something about “//theo removed bool check as it would” but my guess is… its false because when asking if there were errors it found none.
I have no idea whats going on. Any help?

Nope, doesn’t work either.
Does the following function still work as it should?

  
if( XML.loadFile("mySettings.xml") ){  
} else {  
}