Release 10.1A: OpenEdge Deployment:
WebClient Applications

> ## Using the SEARCH() function

> This is the syntax of the `SEARCH` function, as specified in OpenEdge Development: Progress 4GL Reference :

> Syntax
>     SEARCH ( opsys-file )

> The `SEARCH()` function searches the directories and libraries (including URL pathnames) appearing in the `PROPATH` environment variable for `opsys-file`. The `SEARCH()` function returns the full pathname of the file unless it resides in the current working directory. If the `SEARCH()` function does not find the file for any reason, it returns the Unknown value (`?`).

> If the file is found in a directory specified by a URL, `SEARCH()` returns the full URL pathname of the file, which consists of the URL’s `PROPATH` entry with the filename appended.

> If `opsys-file` is a fully qualified URL or a fully qualified pathname, `SEARCH()` checks for the existence directly, and does not search the directories and URLs in the `PROPATH`.

> Note: `SEARCH()` does not download any files.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095