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 next 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
Re: CParser small bug in ReadInt64(int64 min, int64 max) [message #40988 is a reply to message #40984] Fri, 18 October 2013 07:42 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thnks!
Previous Topic: SetLanguage + Rus
Next Topic: append in logging not working
Goto Forum:
  


Current Time: Sat Apr 20 00:48:27 CEST 2024

Total time taken to generate the page: 0.02782 seconds