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 » Date Scan Problem
Re: Date Scan Problem [message #14103 is a reply to message #14100] Mon, 11 February 2008 08:55 Go to previous message
zsolt is currently online  zsolt
Messages: 702
Registered: December 2005
Location: Budapest, Hungary
Contributor
luzr wrote on Mon, 11 February 2008 08:27

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 !"));



Yes, thanks.
 
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 Sep 04 01:17:36 CEST 2025

Total time taken to generate the page: 0.04906 seconds