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   |
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
|
|
|
Goto Forum:
Current Time: Sun Aug 10 04:32:51 CEST 2025
Total time taken to generate the page: 0.02361 seconds
|