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

Home » U++ Library support » U++ Core » Date Scan Problem
Re: Date Scan Problem [message #14100 is a reply to message #14099] Mon, 11 February 2008 08:27 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
OK, does this sound better?

	case DATE_V:
		if(text.IsEmpty()) return (Date) Null;
		s = StrToDate(date, text);
		if(s)
			for(;;) {
				if(IsDigit(*s))
					break;
				if(*s == '\0')
					return date;
				s++;
			}
		return ErrorValue(t_("Invalid date !"));
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Serious bug in String comparison or weird feature?
Next Topic: [BUG] Ctrl::AlignRight
Goto Forum:
  


Current Time: Thu Jun 04 14:56:55 GMT+2 2026

Total time taken to generate the page: 0.00508 seconds