local variable "time" Help!!! +REP
#8

Common practice is to prefix global variables with 'g'. However, globals should be avoided wherever possible. If a variable is only used in one function, but it needs to retain its value between calls then use a static local.
Reply


Messages In This Thread
local variable "time" Help!!! +REP - by CopKing123 - 08.02.2015, 17:04
Re: local variable "time" Help!!! +REP - by Misiur - 08.02.2015, 17:11
Re: local variable "time" Help!!! +REP - by CopKing123 - 08.02.2015, 17:22
Re: local variable "time" Help!!! +REP - by Tamy - 08.02.2015, 17:37
Re: local variable "time" Help!!! +REP - by CopKing123 - 08.02.2015, 17:53
Re: local variable "time" Help!!! +REP - by HazardouS - 08.02.2015, 17:56
Re: local variable "time" Help!!! +REP - by CopKing123 - 08.02.2015, 18:36
Re: local variable "time" Help!!! +REP - by Vince - 08.02.2015, 18:38
Re: local variable "time" Help!!! +REP - by CopKing123 - 08.02.2015, 18:52
Re: local variable "time" Help!!! +REP - by HazardouS - 08.02.2015, 18:55

Forum Jump:


Users browsing this thread: 2 Guest(s)