check if array is empty

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bigbuddha

    check if array is empty

    how do i check i testarray[] is empty or not?

    thanks

    --
    +++-BigBuddha-+++
    ---------------------------
    ---www.bigbuddha.b e---
    ---------------------------
    "Light is faster than sound. Thats why people look intelligent untill you
    hear them speak."


  • Clubberboy

    #2
    Re: check if array is empty

    Op Fri, 22 Aug 2003 13:15:24 +0200 schreef "bigbuddha"
    <news@bigbuddha .be>:
    [color=blue]
    >how do i check i testarray[] is empty or not?
    >
    >thanks[/color]

    if (testarray.leng th <1) alert("array is empty");

    --
    Ontvang hoogwaardig IT-consultancy en maatwerksoftwareoplossingen, professionele smart contract-audits en blockchain-advies, en boeiende e-learning-cursussen. Onze expertise omvat een breed scala aan diensten die uw bedrijf naar de volgende digitale fase leiden. Neem vandaag nog contact met ons op en ontdek hoe wij u kunnen helpen uw technologische doelen te bereiken

    Comment

    • bigbuddha

      #3
      Re: check if array is empty

      Clubberboy wrote:[color=blue]
      > Op Fri, 22 Aug 2003 13:15:24 +0200 schreef "bigbuddha"
      > <news@bigbuddha .be>:
      >[color=green]
      >> how do i check i testarray[] is empty or not?
      >>
      >> thanks[/color]
      >
      > if (testarray.leng th <1) alert("array is empty");[/color]

      thanks for the quick help

      --
      +++-BigBuddha-+++
      ---------------------------
      ---www.bigbuddha.b e---
      ---------------------------
      "Light is faster than sound. Thats why people look intelligent untill
      you hear them speak."


      Comment

      Working...