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 #19861 is a reply to message #19728] Mon, 17 April 2000 00:00 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
davidf@dfanning.com (David Fanning) writes:
> Ramji Digumarthi (ramji.digumarthi@lmco.com) writes:
>
>> 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????
>
> I don't know. But I'm really not the person you should be talking
> to. And I wouldn't be trying to write strings anyway. I would
> be writing and reading byte values and casting them back
> to strings. Can't much go wrong that way. :-)

Amen to that. Read bytes, and then convert to a string at the end.

But your specific problem reminds me of a story: A man goes to the
doctor and says, "Doctor, it hurts when I do this." The wise doctor
said, "Then don't do that."

Seriously, if by *not* reading the string variable, everything works
fine, are you sure that the string is there?

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[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:55:24 PDT 2025

Total time taken to generate the page: 0.71690 seconds