Re: Array Dimensioned or not
From: Bonj (benjtaylor)
Date: 11/30/04
- Next message: Bonj: "Re: Array Dimensioned or not"
- Previous message: Bob O`Bob: "Re: Bitwise Comparison fails unexpectantly"
- In reply to: Saga: "Re: Array Dimensioned or not"
- Next in thread: Saga: "Re: Array Dimensioned or not"
- Reply: Saga: "Re: Array Dimensioned or not"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Nov 2004 20:37:24 -0000
Or call UBound. It might be dimmed (2,5).
"Saga" <antiSpam@somewhere.com> wrote in message
news:OrREwpx1EHA.2568@TK2MSFTNGP10.phx.gbl...
>
> Create a boolean function, create an error handler and
> then access the first element of the array. If it does not
> error out, set the function to true. Do nothing in the error
> handler so the function will return false.
>
> Not elegant, but simple <g>
> Saga
>
> "uo" <notreal@notreal.com> wrote in message
> news:Q_-dndVjn_JdSDHcRVn-gA@igs.net...
>> How can I check whether an array has been dimensioned in order to avoid
>> an
>> error when calling ubound() with an undimensioned array ? Is there any
>> elegant/simple way of doing this other than trapping errors.
>>
>> Thanks.
>>
>>
>
>
- Next message: Bonj: "Re: Array Dimensioned or not"
- Previous message: Bob O`Bob: "Re: Bitwise Comparison fails unexpectantly"
- In reply to: Saga: "Re: Array Dimensioned or not"
- Next in thread: Saga: "Re: Array Dimensioned or not"
- Reply: Saga: "Re: Array Dimensioned or not"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|