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

Home » Public Forums » archive » Is this a bug?
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: Is this a bug? [message #13060 is a reply to message #12978] Fri, 02 October 1998 00:00 Go to previous messageGo to previous message
menakkis is currently offline  menakkis
Messages: 37
Registered: June 1998
Member
steinhh@ulrik.uio.no (Stein Vidar Hagfors Haugan) wrote:
<...>
> 1. Brackets around anything *except* a simple variable name gives
> an rvalue (expression).
> 2. Dereferenced pointers -- "*p" behave as a simple variable name,
> -> see exception in first point
> 3. Rvalues should *not* be allowed on the left hand side of
> assignments (fix it, RSI).

It looks like you have it. I'd go so far as to add that: brakets around a
simple variable name are effectively ignored / discarded. e.g., A=INDGEN(4)
&(((A)))[2]=20 works.


> Finally, I guess that Peter Mason changing his mind in the middle
> of a paragraph caused him to say things about the
> (<expression>)[index]
> construct whilst appearing to talk about the (*p) construct..?

I guess I should have thrown in a <NL> there for your paragraph parser :-)


Peter Mason

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How do you like this?
Next Topic: Copying IDL objects

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

Current Time: Thu Dec 04 22:22:46 PST 2025

Total time taken to generate the page: 1.43949 seconds