Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Poll: Was this helpful to you?
You do not have permission to vote in this poll.
Yes
33.33%
1 33.33%
No
66.67%
2 66.67%
Total 3 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Understanding on Global Variables and how to use them.
Wooderson Offline
Posting Freak

Posts: 2,460
Threads: 25
Joined: Dec 2011
Reputation: 52
#9
RE: Understanding on Global Variables and how to use them.

Learning about functions and procedures in A Level Computing at the moment (VB).

I am in no way a pro or anything, I am very amateur but this is what I know about them.

They will make your sub main shorter as you call each procedure/function within sub main which is at a different part of the program.

Main benefit is its easier to test for bugs.
Disadvantage is you need to look out for variables and such being local/global and re-used etc.

[Image: luv.gif]
03-27-2013, 03:14 PM
Find


Messages In This Thread
RE: Understanding on Global Variables and how to use them. - by Wooderson - 03-27-2013, 03:14 PM



Users browsing this thread: 1 Guest(s)