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

Home » Public Forums » archive » strpos
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
strpos [message #56732] Fri, 09 November 2007 02:24
greg.addr is currently offline  greg.addr
Messages: 160
Registered: May 2007
Senior Member
I'm cutting up an array of filenames, starting something like this:

p1=strpos(res,'\',/reverse_search)
p2=strpos(res,'.',p1)

...and am surprised to get this message:

STRPOS: Expression must be a scalar or 1 element array in this
context: P1.

I was half-expecting to have to transpose p1, but that it's not
allowed at all seems an omission to me. Is there any reason for that?

regards,
Greg
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: MAP keyword
Next Topic: How to use customized Hershey fonts?

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

Current Time: Fri Oct 10 01:54:25 PDT 2025

Total time taken to generate the page: 0.23771 seconds