Now g_dTest I have declared globaly . Suppose I need to use the value of
the cvar within one function with is being called every 1 sec. So i wrote
new iTest = get_pcvar_num(g_dTest) inside the function .
But with this get_pcvar_num is being called also every time .
Can we do like
1)declaring iTest globally and then calling one function which will set the value of iTest globally ?
Is there any disadvantage in this ?or what is the better way of declaring one cvar ?