A program file may have any file-name extension, although there are a number of defaults:

A program containing a form is .WFM

A program containing a report is .REP

Any other program is .PRG

These file-name extensions are assumed by the Navigator and the Source Editor.

When a program is compiled into byte code by dBASE Plus, it stores the byte code in a file with the same name and extension, but it changes the last character of the extension to the letter "O": .PRG becomes .PRO, .WFM becomes .WFO, and .REP becomes .REO.