WP: Write a Procedure to Disk

   

Form: WP filename
filename
is the name of the file that will store the current procedure.
Unless otherwise specified in 'filename', WP will write to the default directory for procedures, which may be displayed by the command PRINT DIR, and uses the default extension. As an example, suppose the default procedure directory is /vista/procedure and the default extension is .pro
WP medfly
writes the current procedure to the file vista/procedure/medfly.pro
WP /demo/medfly
writes to /demo/medfly.pro
WP medfly.xyz
writes to vista/procedure/medfly.xyz