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

Home » Public Forums » archive » Re: StrMid in ION/IDL
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: StrMid in ION/IDL [message #30980] Fri, 31 May 2002 09:33 Go to previous message
Diann Mills is currently offline  Diann Mills
Messages: 3
Registered: April 2001
Junior Member
Thanks, Rick. It was the single quotes that I had as double quotes that got
me! D

Rick Towler wrote:

> The joys of ION....
>
> I apologize for the lazy man's response (I don't have the time to actually
> play with this in ion_script) but are you sure the string you are passing to
> STRMID is correct? Can you "print" it from within the <ION_DATA_OUT> tag?
> Is your string variable enclosed in "'"'s?
>
> <ION_SCRIPT>
> <VARIABLES>
> <VARIABLE_DECL NAME="test" TYPE="STR" VALUE="$Form.test"/>
> <VARIABLES>
>
> <ION_BODY>
> <ION_DATA_OUT>
> <IDL>
>
> print, STRMID('$test',0,3)
>
> </IDL>
> </ION_DATA_OUT>
> </ION_BODY>
> <ION_SCRIPT>
>
> -Rick
>
> "Diann Mills" <dmills@lanl.gov> wrote in message
> news:3CF63363.C3F8ED17@lanl.gov...
>> I can use STRMID in IDL with no problem, but when I use it in ION <IDL>
>> </IDL>, I can't make it work. What is the difference when using it in
>> ION? Thanks, Dee
>>
[Message index]
 
Read Message
Read Message
Previous Topic: Parameters for Dummies
Next Topic: IDL 5.5 "% Temporary variables" messages

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

Current Time: Wed Oct 08 16:58:01 PDT 2025

Total time taken to generate the page: 0.00226 seconds