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

Home » Public Forums » archive » REFORM: new subscripts must not change the number elements in 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
Re: REFORM: new subscripts must not change the number elements in array [message #90422 is a reply to message #90421] Mon, 02 March 2015 08:19 Go to previous messageGo to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Monday, March 2, 2015 at 5:14:59 PM UTC+1, g.na...@gmail.com wrote:
>> What do you get if you type:
>> print, size(a)
>> before the reform command?
>>
>> Helder
>
> I got
>
> 2 200 200 4 40000

I don't see how you can get an error with the reform() command:

IDL> a = randomu(s, 200,200)
IDL> print, size(a)
2 200 200 4 40000
IDL> help, reform(a, 100l, 200l*2l)
<Expression> FLOAT = Array[100, 400]

Cheers,
Helder
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: function graphics event handling
Next Topic: Image in color scale and gray level scale.

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

Current Time: Thu Oct 09 22:59:21 PDT 2025

Total time taken to generate the page: 0.64063 seconds