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

Home » Public Forums » archive » Resizing array problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Resizing array problem [message #49730] Thu, 10 August 2006 08:59
Tom S. is currently offline  Tom S.
Messages: 9
Registered: June 2006
Junior Member
Hi All,

I'm having trouble resizing a byte array that's contained within a
structure. Since I need the array to be larger, I can't use REFORM, and
since it must become an arbitrary size I can't use REBIN, thus I'm
trying to use CONGRID.

In my code I have the statements,

HELP, struct.data
struct.data = CONGRID(struct.data, 512, 512)

Running the program, I get this output in the console:

<Expression> BYTE = Array[512, 300]
Conflicting data structures: structure tag,<BYTE Array[512, 512]>.

Anyone know how I can get around this?

Thx!!
Tom
[Message index]
 
Read Message
Previous Topic: File_COPY
Next Topic: VM command line parameters

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

Current Time: Fri Oct 10 03:29:50 PDT 2025

Total time taken to generate the page: 1.19777 seconds