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

Home » Public Forums » archive » Basic Array Subscripting Question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Basic Array Subscripting Question [message #80304] Thu, 31 May 2012 02:38 Go to previous message
rjp23 is currently offline  rjp23
Messages: 97
Registered: June 2010
Member
This is very basic stuff but for some reason it's leaving me stumped.

I always thought that:

array[412:413, 18:19] was equivalent to array[[412,413], [18,19]]

but the first returns a 2,2 array (which I want) whilst the second
only returns a 2 element array.

<Expression> DOUBLE = Array[2, 2]
<Expression> DOUBLE = Array[2]

Any idea what I'm doing wrong?
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Basic Array Subscripting Question
Next Topic: V8.2 compilation error, works in V8.1

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

Current Time: Sat Oct 11 14:36:30 PDT 2025

Total time taken to generate the page: 0.88335 seconds