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++ Library : Other (not classified elsewhere) » Format NFormat and so on.
Re: Format NFormat and so on. [message #3152 is a reply to message #3150] Tue, 09 May 2006 12:15 Go to previous messageGo to previous message
lundman is currently offline  lundman
Messages: 175
Registered: March 2006
Location: Tokyo
Experienced Member
Quote:


%` is "empty" - default format. In fact, ` can be used as delimiter of format code; the trouble is that unlike classic printf, Format allows you to define your own formats with id's, means you sometimes need delimiter to tell apart id and text..



Yeah I suspected as much reading Format.cpp, but alas, without Documentation, or examples, of how to use that code... Smile

Quote:



If troubles persist, send the code!




Only example I found was
uppsrc/Core/t.cpp: SetDateFormat(t_("date-format\a%2:02d/%3:02d/%1:4d"));

and not having any specs on it, I swapped %2 with %3 thinking that would do it, but it did not.

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Linux (amd64 gentoo) build issues
Next Topic: TrayIcon for linux
Goto Forum:
  


Current Time: Wed Apr 30 04:58:30 CEST 2025

Total time taken to generate the page: 0.00964 seconds