View Single Post
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 06-07-2012 , 18:24   Re: [TUT] Class Specifiers (new static stock public const)
Reply With Quote #3

again, phenomenal work.

NOTE: you cannot define statics or constants to pointers.
nor can you define statics in such a manner....it throws a compilation error
Code:
static money = cs_get_user_money(id)
This leads me to believe that most of these are only compatible with raw data, not retrieved data.

EDIT: if you set the static var on a separate call, it is accepted.
Code:
static money;
money = cs_get_user_money(id)
could anyone shed some light on this anomaly?
__________________
What an elegant solution to a problem that doesn't need solving....

Last edited by Liverwiz; 06-07-2012 at 21:22.
Liverwiz is offline