Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » StrIntValue -> uses int64
Re: StrIntValue -> uses int64 [message #17822 is a reply to message #17810] Sat, 30 August 2008 01:40 Go to previous messageGo to previous message
captainc is currently offline  captainc
Messages: 278
Registered: December 2006
Location: New Jersey, USA
Experienced Member
Example:
 Value my_value = StrIntValue("5");
//...
int val = ValueTo<int>(my_value);

I expected this to work, but it didn't. Gave me errors about int64...

Quote:

(Hm, would it be a good idea if conversions checked this and returned Null in such case?).

Not sure, on one hand, I knew where to look because it had the error, but on the other hand, returning Null would stop error from happening in program.

[Updated on: Sat, 30 August 2008 01:42]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: String filter whitespace
Next Topic: [FEATURE REQUEST] could Alloc fail a little more gracefully?
Goto Forum:
  


Current Time: Sun Aug 10 04:32:51 CEST 2025

Total time taken to generate the page: 0.02361 seconds