Results 1 to 5 of 5

Thread: Free-Up Cariables

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Location
    California
    Posts
    115

    Post

    How do I free variables? or Set them to Nothing?

    Thanks,
    Ryan

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    variablename = ""

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Location
    California
    Posts
    115
    Doesn't that just set the variable to an empty string, not set it to nothing?

  4. #4
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    Well then what are you looking for. "" Is nothing, and empty.

  5. #5
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    Do you mean Free up the Memory allocated to Variables?

    You Can't do It Directly unless you're using objects in which case you
    Code:
    Set objMyObject = Nothing
    The Equivilent is to Declare your variables Inside a funtion, in which case they are declared at the start ogf the Function Call and Freed up when the Function finishes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width