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

Home » Public Forums » archive » Oject programming error in non-object program
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Oject programming error in non-object program [message #80517] Thu, 21 June 2012 10:28
David Klassen is currently offline  David Klassen
Messages: 27
Registered: December 2004
Junior Member
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))
where:
II LONG = 0
N_LIST LONG = 22159
NEW_VECS (PCA2) DOUBLE = Array[583200, 64]
LIST LONG = Array[22159]
I INT = 2
J INT = 1
PSSYM INT = 8
K_COL INT = Array[583200]

Note, that a plot has already been set up using
plot,new_vecs(list,i),new_vecs(list,j),/nodata,xstyle=3,ysty le=3,$
title=titl, subtitle=sub_title, xtitle=xt, ytitle=yt,$
xrange=xrange,yrange=yrange,charthick=3,charsize=1.2,$
xthick=2,ythick=2

Any ideas on what the clash might be?!

Thanks!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Shear transformation with Poly_2d
Next Topic: Re: Oject programming error in non-object program

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

Current Time: Wed Oct 08 11:51:03 PDT 2025

Total time taken to generate the page: 0.00532 seconds