[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rstrpos: version 5.2 and version 5.3



David Fanning (davidf@dfanning.com) writes:

JD is correct. This syntax compiles in versions of IDL
less than IDL 5.3:

IF Float(!Version.Release) LT 5.3 THEN index = RStrPos(theName, sep) ELSE $
   index = Call_Function('StrPos', theName, sep, /Reverse_Search)

Cheers,

David

-- 
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155