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

Home » Public Forums » archive » Re: Oject programming error in non-object program
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: Oject programming error in non-object program [message #80516 is a reply to message #80515] Thu, 21 June 2012 10:34 Go to previous message
Bill Nel is currently offline  Bill Nel
Messages: 31
Registered: October 2010
Member
On Jun 21, 1:28 pm, David Klassen <klas...@rowan.edu> wrote:
> This is frustrating me because my IDL skills are at the IDL 5.0 level, but since ITT won't allow me to simply move software, I have to re-buy each time I get a new machine, I have IDL 8...
>
> The program is a massive thing and mostly works fine but every now and again (and I can't find a reason---but it seems to happen if I recompile the program) I get this error:
>
> % Object reference expression not allowed in this context: <OBJREF
>    (<ObjHeapVar16(LIST)>)>.
>
> and I have no clue what it means.  The program was written in IDL 3, and last updated under IDL 5 so there are no object oriented programming statements.
>
> The crash happens on:
>         for ii=0l,n_list-1 do oplot,$
>                 [new_vecs(list(ii),i)],[new_vecs(list(ii),j)],$
>                 psym=pssym,color=k_col(list(ii))

LIST is a function since IDL 8.0 -- you need to rename your LIST array
variable. (Using square brackets to index arrays instead of
parenthesis might help temporarily, but it's probably not a great
solution.)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Oject programming error in non-object program
Next Topic: read irregular data

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

Current Time: Fri Oct 10 23:06:20 PDT 2025

Total time taken to generate the page: 1.59962 seconds