.FILE EXISTS

This subroutine is called to check if a file exists in the filesystem.


Usage:

    PASS        <exists?>                 FIELD           SHARE? Y
    PASS        <pathname>                FIELD           SHARE? N
    GOSUB   --- .FILE EXISTS
     *       check for errors
    IF      --- .FILE EXISTS              NE

Description:

This subroutine must be passed two fields. One to return a Y or N if the files exists or not and one defining the pathname to delete.

<exists?> identifies the field to return if the file exists or not. Passing this parameter is required.

<pathname> identifies the field that identifies the pathname to test. 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

Edit | Attach | Watch | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2011-08-12 - PeteBrower
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback