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 #5460 is a reply to message #5455] Wed, 13 December 1995 00:00 Go to previous messageGo to previous message
sjt is currently offline  sjt
Messages: 72
Registered: November 1993
Member
Kevin J. Hilman (khilman@vision.d.umn.edu) 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

vec = [temporary(vec), new_element]

--
+------------------------+---------------------------------- --+---------+
| James Tappin, | School of Physics & Space Research | O__ |
| sjt@star.sr.bham.ac.uk | University of Birmingham | -- \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722 | |
+----------------------------------------------------------- --+---------+
[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: Sun Oct 12 17:12:42 PDT 2025

Total time taken to generate the page: 0.96112 seconds