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

Home » Public Forums » archive » vector subscripts not working
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: vector subscripts not working [message #88653 is a reply to message #88652] Sun, 25 May 2014 23:57 Go to previous messageGo to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den måndagen den 26:e maj 2014 kl. 07:42:34 UTC+2 skrev jiaxinxin:
> Hi,Everyone
>
> why the routine gives me an error message:
>
> % Array subscript for X must have same size as source expression.

You could just do "help" for both the left hand side and the right hand side of the assignment that gives the error.

Like

IDL> help, b[125:624,125:624], a

or

IDL> help, cc[*,i*20+1:i*20+19], data[150:*,120+7:138+7,i*4+10]

depending on which line has the error.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: idl crashes
Next Topic: modifying hash/dict elements

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

Current Time: Wed Oct 08 19:29:50 PDT 2025

Total time taken to generate the page: 0.00368 seconds