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
#11
RE: Understanding on Global Variables and how to use them.

(03-27-2013, 03:16 PM)JustAnotherPlayer Wrote:
(03-27-2013, 03:14 PM)Wooderson Wrote: 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.

I think your in the wrong thread here.

Wouldn't surprise me at all since I am shit at computing and such. Global/Local variables are to do with functions/procedures though right?

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


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



Users browsing this thread: 1 Guest(s)