Difference between revisions of "GETDIR()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) (→Description) |
||
Line 14: | Line 14: | ||
!width="30%"|Parameters||width=20%||Description | !width="30%"|Parameters||width=20%||Description | ||
|- | |- | ||
− | |valign="top"|<expC1>||valign="top" | + | |valign="top"|<expC1>||valign="top"|The starting directory |
|- | |- | ||
− | |valign="top"|<expC2>||valign="top" | + | |valign="top"|<expC2>||valign="top"|Ignored. |
|- | |- | ||
− | |valign="top"|<expC3>||valign="top" | + | |valign="top"|<expC3>||valign="top"|The text to display in the dialog title bar. |
|- | |- | ||
− | |valign="top"|<expN>||valign="top | + | |valign="top"|<expN>||valign="top|Ignored. |
|- | |- | ||
− | |valign="top"|<expL>||valign="top | + | |valign="top"|<expL>||valign="top|Ignored. |
|- | |- | ||
|} | |} |
Revision as of 10:37, 14 February 2020
Contents
Purpose
Function to display a dialog allowing a directory to be selected and its name returned.
Syntax
GETDIR([<expC1> [, <expC2> [, <expC3> [, <expN> [, <expL>]]]]])
See Also
DIRECTORY(), GETFILE(), LOCFILE(), PUTFILE()
Description
The GETDIR() function displays a dialog allowing a directory to be selected and its name returned. The dialog allows navigation through directories and sub-directories. If a directory is selected, the GETDIR() function returns the name of that directory. If no directory is selected, the GETDIR() function returns an empty string "".
Parameters | width=20% | Description |
---|---|---|
<expC1> | The starting directory | |
<expC2> | Ignored. | |
<expC3> | The text to display in the dialog title bar. | |
<expN> | Ignored. | |
<expL> | Ignored. |
Example
cDirSelected = getdir("C:\Lianja","","Please select a directory")