Use DFAllEnt

Class cHelloWorld is a cObject
    Procedure OnCreate
        Forward Send OnCreate
        Show "Hello, World!"
    End_Procedure // OnCreate
End_Class // cHelloWorld

// Create an instance of the class
Object oHelloWorld is a cHelloWorld
End_Object // oHelloWorld