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

Home » Public Forums » archive » Re: Help assigning values to ranges of elements in 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: Help assigning values to ranges of elements in an array??? [message #5196 is a reply to message #5187] Wed, 11 October 1995 00:00 Go to previous messageGo to previous message
chs11 is currently offline  chs11
Messages: 14
Registered: October 1995
Junior Member
In article <45ff2r$n3f@mirv.unsw.edu.au>,
Julian Marshall <jgm@nntp.unsw.EDU.AU> wrote:
> I was hoping someone could help me by suggesting a way by which
> I can assign values to a range of elements in an array. To be
> more exact, I want to make elements 0 to 100 (for eg.) of a
> 200 element array equal to a value or equal to values in a 100
> element array.

a=intarr(200)
b=intarr(100)

a(0:99) = b

b'de, b'de, b'de,... That's all Folks!

Carl
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: limit of number vortices
Next Topic: HELP: IDL Function/Variable Problem

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

Current Time: Tue Mar 24 05:27:56 PDT 2026

Total time taken to generate the page: 1.92442 seconds