[gtkada] Is there an sprintf style function in Ada?

Dave Mihalik dmihalik at toast.net
Tue Aug 29 02:27:47 CEST 2006


I want to be able to store a string that looks like this:

 

“#FFFFFF” but specify it with base 10 values.

 

Using sprintf and Perl I can do this:

 

sprintf("#%02x%02x%02x",255,255,255);

 

Is there an equivalent function in Ada that will do this?


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 8/25/2006
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20060828/4863a96d/attachment.htm 


More information about the gtkada mailing list