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

Home » Public Forums » archive » SPAWN + readU + strings
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: SPAWN + readU + strings [message #19864 is a reply to message #19728] Mon, 17 April 2000 00:00 Go to previous messageGo to previous message
Ramji Digumarthi is currently offline  Ramji Digumarthi
Messages: 5
Registered: April 2000
Junior Member
David Fanning wrote:
>
> Ramji Digumarthi (ramji.digumarthi@lmco.com) writes:
>
>> any comments on why this code does not work!!!!!
>>
>> readu,test,long(strInlen)
>> print," Test .. :",strInlen
>
> Well, you can't read into a temporary variable like this.
> Have you tried reading this value into a legitimate
> IDL variable? Does it still not work? I don't see anything
> obviously wrong, except for this.
>
> testVal = Long(strInLen)
> ReadU, test, testVal
>
> 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


WEll!! I tried that. Either temperary variable (actually recasting the
variable as long) or legitimate variable work as long as I do not read
the string variable. Once I read the string variable, the next readU of
a variable goes hay wire...
So what gives????

thanks
ramji digumarthi
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DLMs & IRIX
Next Topic: Visualization Development Environments 2000

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

Current Time: Fri Oct 10 14:23:10 PDT 2025

Total time taken to generate the page: 0.31891 seconds