Creating an Object


oInv = CREATEOBJECT("Invoice")

This line of code sends a message to the Invoice class telling it to create an object based on itself called oInv.