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 #30988 is a reply to message #30980] Thu, 30 May 2002 17:26 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
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: Fri Oct 10 07:14:56 PDT 2025

Total time taken to generate the page: 1.65917 seconds