Re: Array Dimensioned or not

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Bonj (benjtaylor)
Date: 11/30/04


Date: Tue, 30 Nov 2004 20:37:00 -0000

there's always ((Not myArray) != -1)...

"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.
>
>



Relevant Pages

  • Re: Creating an Object that extends Array functionality
    ... The goal is not in the OP, just the requirement to avoid modifying ... understanding why augmenting can make some troubles and in which cases ... But for-in loops is also not so useful as for-length ... And in here the only reason to use for-in for array - is ...
    (comp.lang.javascript)
  • Re: getElementById returns null
    ... Don't mix Array() and Array initializers. ... Avoid repeated property access; ... know where the automatic ones happen -- that avoids this comb-like posting ... avoid posting using Google Groups if you ...
    (comp.lang.javascript)
  • Re: java method returning an array of 2 integers
    ... Possible solutions include splitting the method into two, ... > return an array with length 1? ... In stead of saying "it's better in general to avoid this," I would ... the nature of the thing (0th represents width, 1st represents height, ...
    (comp.lang.java.help)
  • Re: getElementById returns null
    ... Don't mix Array() and Array initializers. ... Avoid repeated property access; ... Don't use spacer elements, use CSS margins/paddings instead. ... know where the automatic ones happen -- that avoids this comb-like posting ...
    (comp.lang.javascript)
  • Re: CPU and Memory performance
    ... If you program really needs to shuffle a lot of data, high CPU usage could be normal. ... Don't constantly resize large arrays. ... Place small wait statements in all toplevel loops. ... Avoid overlapping objects on the front panel. ...
    (comp.lang.labview)