(01-25-2025, 06:44 AM)hsiangch_ong Wrote: what happened to redim _preserve?
i'm missing something. go ahead. laugh at me.
Well, if you mean trying...
Code: (Select All)
test pete$()
Sub test (pete$())
ReDim _Preserve pete$(5)
End Sub
That still throws a DUPLICATE DEFINITION error and it would also require a Redim pete$(0) as the first line to work, just like Redim without _Preserve.
Now I do use Redim _Preserve in several areas of my programs to increase array size and even to use something like _Height, which can be changed in resizing events, etc. It is GREAT!!! for those purposes, but sadly, is not a use in this case, unless I'm missing something.
Pete