Web Development

General discussion


all vb progammers out there, plz help.

By thapedi ·
i really thik vb is itresting, from a learner's point of view. but the problem that i have is that can't seem to know when to use a global variable and when to use a form level variable. please help.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

answer same for all languages

by Jay Eckles In reply to all vb progammers out the ...

When the question is, "when do I use a global variable instead of a local variable", the answer is the same for all structured languages. If it is at all possible to use a local variable, do it. There are very few instances (although they do exist) when a global variable is required.


Related Discussions

Related Forums