Raised This Month: $ Target: $400
 0% 

[solved] clear function's global variable


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-14-2009 , 09:58   Re: clear function's global variable
Reply With Quote #9

Quote:
Originally Posted by arkshine View Post
@Hunting-Digital : G-Dog's method is perfectly fine with your exemple. But depending you want to do, using an enum could be more readable.
Ops, exact.

Anyway, why don't you directly do :

g_var = 0

?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode