#66161 - 2002-06-06 07:35 PM
Re: Change the UBound of a Multidimensional Array
|
Anonymous
Anonymous
Unregistered
|
Can you give a simple example of how the array is originally defined and in what way you want the boundaries changed.
|
|
Top
|
|
|
|
#66165 - 2002-06-07 05:48 PM
Re: Change the UBound of a Multidimensional Array
|
Anonymous
Anonymous
Unregistered
|
Sorry for delay, it takes me a while to knock up a new UDF, speaking of which I hope this helps MRedim() - Resize multi dimensional arrays I am in 2 minds about using it as trying to simulate MDA's with high level languages is very resource hungry (especially with kixtart passing parameters by value creating multiple copies in memory) It is usually quicker to execute some kind of multiple looping than use recursion, but I am still unsure about exactly what you are trying to do. If your needs are not catered for by this please try and give some more information about the array structure and how you wish to extend it.
|
|
Top
|
|
|
|
#66166 - 2002-06-07 05:56 PM
Re: Change the UBound of a Multidimensional Array
|
jtokach
Seasoned Scripter
   
Registered: 2001-11-15
Posts: 513
Loc: PA, USA
|
|
|
Top
|
|
|
|
#66176 - 2002-06-12 02:10 PM
Re: Change the UBound of a Multidimensional Array
|
Alex.H
Seasoned Scripter
Registered: 2001-04-10
Posts: 406
Loc: France
|
completely insane method, but nice use of recursive calls. I especially love the use for $ptr to increase itself. How long did you take to build a such thing ? (anyway, you got my vote)
_________________________
? getobject(Kixtart.org.Signature)
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 671 anonymous users online.
|
|
|