Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. how to clear an array?

how to clear an array?

Scheduled Pinned Locked Moved Visual Basic
data-structurestutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    moomoooomoo
    wrote on last edited by
    #1

    second badly needed.... how to clear an array? thank you

    start a new beginning in every ending; thats what life for......

    L G 2 Replies Last reply
    0
    • M moomoooomoo

      second badly needed.... how to clear an array? thank you

      start a new beginning in every ending; thats what life for......

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Array.Clear()

      Luc Pattyn [Forum Guidelines] [My Articles]


      this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google


      1 Reply Last reply
      0
      • M moomoooomoo

        second badly needed.... how to clear an array? thank you

        start a new beginning in every ending; thats what life for......

        G Offline
        G Offline
        Gary Bigman
        wrote on last edited by
        #3

        Hi, In your message you have not specified the language you are using in your application but assuming that you are using VB 6.0, here is the code to erase the content of an array - --------------------------Code Start-------------------------- Erase ArrayName --------------------------Code End-------------------------- Please do let me know if I can be of any other help.

        Gary Bigman. Software Engineer ComponentOne LLC www.componentone.com

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups