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 » CParser small bug in ReadInt64(int64 min, int64 max)
CParser small bug in ReadInt64(int64 min, int64 max) [message #40984] Thu, 17 October 2013 21:23 Go to previous message
hans is currently offline  hans
Messages: 44
Registered: March 2006
Location: Germany
Member
first line should be
int64 n = ReadInt64();

int64 CParser::ReadInt64(int64 min, int64 max) throw(Error)
{
int64 n = ReadInt();
if(n < min || n > max)
ThrowError("number is out of range");
return n;
}

Thanks, Hans
 
Read Message
Read Message
Previous Topic: SetLanguage + Rus
Next Topic: append in logging not working
Goto Forum:
  


Current Time: Mon May 13 00:17:54 CEST 2024

Total time taken to generate the page: 0.02323 seconds