.FILE SPLIT FILENAME
This subroutine is called to break down a filename into it's name and extension parts.
Usage:
PASS <filename_part> FIELD SHARE? Y
PASS <etension_part> FIELD SHARE? Y
PASS <full_filename> FIELD SHARE? N
GOSUB --- .FILE SPLIT FILENAME
* check for errors
IF --- .FILE SPLIT FILENAME NE
Description:
This subroutine must be passed three fields. One to return file name part, one to return the file extension part, and one with the full filename to break apart.
<filename_part> identifies the field to return the filename part. Passing this parameter is required.
<extension_part> identifies the field to return the file extension part. Passing this parameter is required.
<full_filename> identifies the field that identifies the full filename to break apart. Passing this parameter is required.
This subroutine sets a result value in the corresponding results Token field.
Comments:
Read what other users have said about this page or add your own comments.
--
PeteBrower - 2011-08-12