Re: Array Dimensioned or not
From: Saga (antiSpam_at_somewhere.com)
Date: 11/30/04
- Next message: Ken Halter: "Re: Array Dimensioned or not"
- Previous message: uo: "Array Dimensioned or not"
- In reply to: uo: "Array Dimensioned or not"
- Next in thread: Bonj: "Re: Array Dimensioned or not"
- Reply: Bonj: "Re: Array Dimensioned or not"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Nov 2004 14:21:25 -0600
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: Ken Halter: "Re: Array Dimensioned or not"
- Previous message: uo: "Array Dimensioned or not"
- In reply to: uo: "Array Dimensioned or not"
- Next in thread: Bonj: "Re: Array Dimensioned or not"
- Reply: Bonj: "Re: Array Dimensioned or not"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|