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

Home » Public Forums » archive » Re: Problems to use variables in a keyword-expression
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: Problems to use variables in a keyword-expression [message #14314] Wed, 10 February 1999 00:00 Go to previous message
rmlongfield is currently offline  rmlongfield
Messages: 68
Registered: August 1998
Member
In article <79osii$m8j$1@ultra.csi.unimi.it>,
Ospite1 <"ospite1"@a5,itba.mi.cnr.it> wrote: (some words removed)

> The expression has to be something like this :
>
> anzfile = FINDFILE [ string(num*),format='(i12)' , count=anz ]
>
> Unfortunalely this is command doesn't work.
>
> Please help me !
>
> Ruth
>

Hi Ruth,
It looks like you have a simple typing mistake. The star in string(num*)
should not be there. I think that STRING is treating the
star as a character and not as a wildcard. Try

anzfile = FINDFILE(string(num)+'*',count=anz)

As an example, I have some program code which looks like this:

; Define prefixes and suffixes of desired data files
yydddhhmm = '962320734'
star = '*' ; wildcard
data_end = '.pif.Z'

filename_array=FINDFILE(yydddhhmm+star+data_end,COUNT=number _of_files);

Hope this helps.
Rose

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
[Message index]
 
Read Message
Read Message
Previous Topic: Problems using the alpha-channel in the IMAGE object
Next Topic: SFADE_SURF + COLOR

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

Current Time: Wed Oct 08 20:01:39 PDT 2025

Total time taken to generate the page: 0.00409 seconds