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

Home » Public Forums » archive » Another simple one
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Another simple one [message #55085] Sat, 28 July 2007 00:58
snudge42 is currently offline  snudge42
Messages: 4
Registered: July 2007
Junior Member
How do I truncate a multidimensional array at a different place for
each dimension i.e. I start with 3x6 array of values A=

0 0 0
0 0 0
0 0 0
0 0 0
0 0 0
0 0 0

and want to truncate each dimension at a fixed value stored in an
array B, where the values are (2,3,4) for example so that I get:

0 0 0
0 0 0
0 0 0
0 0
0

Is that possible? Or does my array have to be square so have to
truncate the whole thing at element 4 for example?

Cheers,

Snudge42
[Message index]
 
Read Message
Previous Topic: How do I add an array to the end of an existing array?
Next Topic: great new site for IT GURUS - www.itkong.com

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

Current Time: Fri Oct 10 15:46:34 PDT 2025

Total time taken to generate the page: 1.03869 seconds