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

Home » Public Forums » archive » scalar system variable as single element array
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
scalar system variable as single element array [message #80173] Sun, 13 May 2012 13:00
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
Hi guys,

the IDL help says that a scalar can be considered a single element array. So why is the following expression failing?

IDL> help, !pi[0]
% Expression must be an array in this context: !PI.
% Execution halted at: $MAIN$

Is it a bug or feature :-)

regards,
Lajos
[Message index]
 
Read Message
Previous Topic: Arrow and plots
Next Topic: Re: XY position of subscripts

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

Current Time: Fri Oct 10 09:51:54 PDT 2025

Total time taken to generate the page: 1.42035 seconds