skip to main content

Library Routines : C$LIST_DIRECTORY : LISTDIR-OPEN

LISTDIR-OPEN
The LISTDIR-OPEN function searches a directory for a file or subdirectory name that matches a specified name.
Syntax:
 CALL "C$LIST_DIRECTORY" USING LISTDIR-OPEN 
Parameters:
Return code:
listdirHandle must be an USAGE HANDLE data item. It receives the handle of the list of matching files and will be used with the LISTDIR-NEXT and LISTDIR-CLOSE functions. It receives 0 if the directory doesn’t exist.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left