Difference between revisions of "GETDIR()"

From Lianjapedia
Jump to: navigation, search
(Description)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
  
 
{| class="wikitable" width="100%"
 
{| class="wikitable" width="100%"
!width="30%"|Parameters||width=20%||Description
+
!width="30%"|Parameters||width=70%|Description
 
|-
 
|-
|valign="top"|<expC1>||valign="top"||The starting directory
+
|valign="top"|<expC1>||valign="top"|The starting directory
 
|-
 
|-
|valign="top"|<expC2>||valign="top"||Ignored.
+
|valign="top"|<expC2>||valign="top"|Ignored.
 
|-
 
|-
|valign="top"|<expC3>||valign="top"||The text to display in the dialog title bar.
+
|valign="top"|<expC3>||valign="top"|The text to display in the dialog title bar.
 
|-
 
|-
|valign="top"|<expN>||valign="top||Ignored.
+
|valign="top"|<expN>||valign="top|Ignored.
 
|-
 
|-
|valign="top"|<expL>||valign="top||Ignored.
+
|valign="top"|<expL>||valign="top|Ignored.
 
|-
 
|-
 
|}
 
|}

Latest revision as of 10:37, 14 February 2020

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 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")