In Visual Foxpro, you can declare procedural routines or Object Oriented methods as either “PROCEDURE” or “FUNCTION”, and it has no impact on how that routine is handled by VFP, like this:
PROCEDURE ThisIsMyProcedure Messagebox( "You are in a Procedure." ) ENDPROC FUNCTION ThisIsMyFunction Messagebox( "You are in a Function." ) ENDFUNC