Post Reply 
Visual Basic, omg
i learned vb 4 years ago and i'm learning everything again
Author Message
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #2
RE: Visual Basic, omg
I'm guessing the variable mensagens_lidas is declared locally.  For all languages (that I know of) local variables loose their value after the function ends.  Either declare it as Static, or declare it globally.
(This post was last modified: 17/11/2007 05:58 AM by ZiNgA BuRgA.)
17/11/2007 05:58 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Visual Basic, omg - Pirata Nervo - 17/11/2007, 04:58 AM
RE: Visual Basic, omg - ZiNgA BuRgA - 17/11/2007 05:58 AM
RE: Visual Basic, omg - Pirata Nervo - 17/11/2007, 11:59 AM
RE: Visual Basic, omg - Anger - 17/11/2007, 03:01 PM
RE: Visual Basic, omg - Pirata Nervo - 18/11/2007, 02:44 AM
RE: Visual Basic, omg - Anger - 18/11/2007, 06:26 AM
RE: Visual Basic, omg - Pirata Nervo - 18/11/2007, 07:18 AM
RE: Visual Basic, omg - Anger - 18/11/2007, 01:18 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)

 Quick Theme: