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

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: 14290
Registered: November 2005
Ultimate Member
Thnks!
Previous Topic: SetLanguage + Rus
Next Topic: append in logging not working
Goto Forum:
  


Current Time: Sat Apr 25 06:46:20 GMT+2 2026

Total time taken to generate the page: 0.00746 seconds