U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » LoadFromXMLFile() proposal when file is not found
LoadFromXMLFile() proposal when file is not found [message #35998] Tue, 17 April 2012 15:58 Go to next message
koldo is currently offline  koldo
Messages: 3458
Registered: August 2008
Senior Veteran
Hello Mirek

Now LoadFromXMLFile() returns true if file is not found.

Could it be good to return false in that case?


Best regards
Iñaki
Re: LoadFromXMLFile() proposal when file is not found [message #36016 is a reply to message #35998] Thu, 19 April 2012 11:23 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
Done.

Mirek
Re: LoadFromXMLFile() proposal when file is not found [message #36017 is a reply to message #36016] Thu, 19 April 2012 12:09 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3458
Registered: August 2008
Senior Veteran
Thank you Smile

I do not know if perhaps this could be extended to JSON in a possible new LoadFromJSONFile().


Best regards
Iñaki
Re: LoadFromXMLFile() proposal when file is not found [message #36018 is a reply to message #36017] Thu, 19 April 2012 12:54 Go to previous message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
koldo wrote on Thu, 19 April 2012 06:09

Thank you Smile

I do not know if perhaps this could be extended to JSON in a possible new LoadFromJSONFile().


Done.

Mirek
Previous Topic: Jsonize problems with maps
Next Topic: Debugging XML files
Goto Forum:
  


Current Time: Tue Apr 28 04:13:40 GMT+2 2026

Total time taken to generate the page: 0.01246 seconds