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

Home » Public Forums » archive » replace array's elemets
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
replace array's elemets [message #35190] Fri, 16 May 2003 08:33
graftons is currently offline  graftons
Messages: 5
Registered: April 2003
Junior Member
Hi
I have a 100x100 array.
How can I replace an element if is different from 0?
I would replace all elements different from 0 with 1.
thank and sorry for the trouble.
Roberto
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: read pixel
Next Topic: Re: fstat, file_info and file_test

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

Current Time: Thu Oct 09 14:25:35 PDT 2025

Total time taken to generate the page: 2.06792 seconds