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

Home » Public Forums » archive » Re: Append to an 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: Append to an array [message #5461 is a reply to message #5460] Wed, 13 December 1995 00:00 Go to previous message
Frank J. �ynes is currently offline  Frank J. �ynes
Messages: 17
Registered: February 1995
Junior Member
khilman@vision.d.umn.edu (Kevin J. Hilman) wrote:
>
> Is there an easy way to append an element to a vector, without making
> a new vector with a bigger size, copying the old vector over and then
> adding the new element.
>
> --
> Kevin Hilman
> khilman@d.umn.edu

Do you mean something like
; create vector
a = findgen(100)
; Append an element
a = [temporary(a), 452]

??
--
/* Frank J. �ynes | frank@spacetec.no /*
/* Spacetec a.s | Phone: +47 77684500 Fax: +47 77655859 /*
/* Prestvannv. 38, | /*
/* N-9005 Troms�, Norway | (...with the bravery of being out of range!) /*
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: SGI RGB image reader would be wonderful.
Next Topic: Need widget help...

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

Current Time: Tue Oct 21 08:41:12 PDT 2025

Total time taken to generate the page: 0.72091 seconds