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

Home » Public Forums » archive » Push value onto an array?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Push value onto an array? [message #33707] Thu, 16 January 2003 14:13
Ed Wright is currently offline  Ed Wright
Messages: 39
Registered: February 1999
Member
Question,

How can I push a value onto an array?

Given some array A of size m, how to add an entry at A[m]?

Something like

push @A, $value;

This needs to be done in a loop. Yes, really.

As always,
Ed Wright
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Cumulative sum
Next Topic: Re: Cumulative sum

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

Current Time: Wed Oct 08 19:18:15 PDT 2025

Total time taken to generate the page: 0.00437 seconds