Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: anything li...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 9 Topic 5442 of 6457
Post > Topic >>

Re: anything like sprintf?

by "mgalloy@[EMAIL PROTECTED] " <mgalloy@[EMAIL PROTECTED] > Feb 18, 2008 at 09:11 AM

On Feb 18, 6:52=A0am, Yann Zoll <y_z2...@[EMAIL PROTECTED]
> wrote:
> May the force be with you !!
> Thats what i was lokking for, thank you.

You can use C-style format codes with a bit more notation (since you
mentioned sprintf, I'm assuming you like those):

  IDL> time =3D string(format=3D'(%"%02d.%02d.%02d")',hh,mm,ss)

This is a direct translation of you sprintf statement.

Mike
--
www.michaelgalloy.com
Tech-X Cor****ation
Software Developer II
 




 9 Posts in Topic:
anything like sprintf?
Yann Zoll <y_z2000@[EM  2008-02-18 12:28:10 
Re: anything like sprintf?
Spon <christoph.blau@[  2008-02-18 03:43:31 
Re: anything like sprintf?
david <david@[EMAIL PR  2008-02-18 12:43:48 
Re: anything like sprintf?
Lasse Clausen <lasse@[  2008-02-18 04:40:37 
Re: anything like sprintf?
Yann Zoll <y_z2000@[EM  2008-02-18 13:56:28 
Re: anything like sprintf?
Lasse Clausen <lasse@[  2008-02-18 05:35:41 
Re: anything like sprintf?
Yann Zoll <y_z2000@[EM  2008-02-18 14:52:37 
Re: anything like sprintf?
"mgalloy@[EMAIL PROT  2008-02-18 09:11:42 
Re: anything like sprintf?
"Haje Korth" &l  2008-02-18 08:20:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 0:08:34 CST 2008.