next up previous contents
Next: RETURN - keyword Up: The CMOD API Previous: CVAR - keyword   Contents

THIS - keyword

THIS is a pointer to the current object. It is used mainly to access items within the object such as object variables. In the example an object variable number is incremented by five.
/*Example of usage:*/
   THIS->number += 5;



2003-03-04