next up previous contents
Next: THIS - keyword Up: The CMOD API Previous: PIKEFUN - keyword   Contents

CVAR - keyword

CVAR is used to declare object variables for internal use. CVAR is followed by the C declaration of the variable. CVAR provides storage for the variable whose declaration follows right after. The example statement placed in a class would result in an object global integer variable named number. number would then be accessed using the THIS pointer.
/*Example of usage:*/
   CVAR int number;



2003-03-04