comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Again: How to use FORMAT like sprintf??
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Again: How to use FORMAT like sprintf?? [message #32232 is a reply to message #32225] Wed, 25 September 2002 02:03 Go to previous message
wmconnolley is currently offline  wmconnolley
Messages: 106
Registered: November 2000
Senior Member
Brian Huether <brian.huether@dlr.de> wrote:
> What I really need to do is something like this:

> s = sprintf('SIZE(%s, /%s)', arrayname, somekeyword)

> So if arrayname is A and somekeyword is TYPE, then the resulting string
> would be

> 'SIZE(A, /TYPE)'

So why not write

s='size('+arrayname+',/'+somekeyword+')'

-W.

--
William M Connolley | wmc@bas.ac.uk | http://www.nerc-bas.ac.uk/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
I'm a .signature virus! copy me into your .signature file & help me spread!
[Message index]
 
Read Message
Read Message
Previous Topic: Re: What's better: 1 big HDF file or several samller ones??
Next Topic: TEST -- Ignore

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:18:51 PDT 2025

Total time taken to generate the page: 0.63779 seconds