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. C#
  4. vbscript empty memory from defined variable

vbscript empty memory from defined variable

Scheduled Pinned Locked Moved C#
6 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
    Mohammad Dabaan
    wrote on last edited by
    #1

    hi, i want to know if there is a way in vbscript to empty and remove a declared variable from the memory after defining it, for example: Dim var1 var1 = "value" i want not only to empty the value assigned to the var1 variable, i want to remove it from the memory to free it to avoid the space reserved to it in the moemory, I found that i can use empty and nothing, do they enough to free the memory??? :doh:

    Thanks alot Hamody

    P 1 Reply Last reply
    0
    • M Mohammad Dabaan

      hi, i want to know if there is a way in vbscript to empty and remove a declared variable from the memory after defining it, for example: Dim var1 var1 = "value" i want not only to empty the value assigned to the var1 variable, i want to remove it from the memory to free it to avoid the space reserved to it in the moemory, I found that i can use empty and nothing, do they enough to free the memory??? :doh:

      Thanks alot Hamody

      P Offline
      P Offline
      PlayByTheRules
      wrote on last edited by
      #2

      You should post this in a more appropriate forum. One dedicated to VBScript.

      M 1 Reply Last reply
      0
      • P PlayByTheRules

        You should post this in a more appropriate forum. One dedicated to VBScript.

        M Offline
        M Offline
        Mohammad Dabaan
        wrote on last edited by
        #3

        what do u mean? don't u understand my question?

        Thanks alot Hamody

        P 1 Reply Last reply
        0
        • M Mohammad Dabaan

          what do u mean? don't u understand my question?

          Thanks alot Hamody

          P Offline
          P Offline
          PlayByTheRules
          wrote on last edited by
          #4

          Mohammad Daba`an wrote:

          what do u mean?

          This is the C# forum. Not the VB Script forum.

          Mohammad Daba`an wrote:

          don't u understand my question?

          Yes, I understand your question.

          M 1 Reply Last reply
          0
          • P PlayByTheRules

            Mohammad Daba`an wrote:

            what do u mean?

            This is the C# forum. Not the VB Script forum.

            Mohammad Daba`an wrote:

            don't u understand my question?

            Yes, I understand your question.

            M Offline
            M Offline
            Mohammad Dabaan
            wrote on last edited by
            #5

            where is the vbscript forume

            Thanks alot Hamody

            D 1 Reply Last reply
            0
            • M Mohammad Dabaan

              where is the vbscript forume

              Thanks alot Hamody

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              Next time, ask in the Visual Basic Forum. Yes and no. It depends on the type of the variable and it's context. No, there is no way to release it. You don't have to worry about it. Just let the runtime take care of it.

              Dave Kreskowiak Microsoft MVP - Visual Basic

              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