CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2000
    Posts
    1

    Hold value in memory

    How can I hold a value in memory after I have exited a subprocedure?


  2. #2
    Join Date
    Feb 2000
    Location
    America
    Posts
    130

    Re: Hold value in memory

    make a module, declare a variable (ex: public Blah as string), then just assign a value and call on it later (ex: Blah = "Another Blah". Label1.caption = Blah)

    Note: Never put "" around a variable.

    Hope this is what you were looking for.


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

Featured