Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0e13374

Browse files
committed
Documented PromptGetFile and optional prompt to GetDirectory.
1 parent 4518577 commit 0e13374

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

Doc/libmacfs.tex

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ \section{Built-in Module \sectcode{macfs}}
4848
without cancelling.
4949
\end{funcdesc}
5050

51+
\begin{funcdesc}{PromptGetFile}{prompt\optional{\, type\, ...}}
52+
Similar to \var{StandardGetFile} but allows you to specify a prompt.
53+
\end{funcdesc}
54+
5155
\begin{funcdesc}{StandardPutFile}{prompt\, \optional{default}}
5256
Present the user with a standard ``open output file''
5357
dialog. \var{prompt} is the prompt string, and the optional
@@ -56,9 +60,10 @@ \section{Built-in Module \sectcode{macfs}}
5660
the dialog without cancelling.
5761
\end{funcdesc}
5862

59-
\begin{funcdesc}{GetDirectory}{}
63+
\begin{funcdesc}{GetDirectory}{\optional{prompt}}
6064
Present the user with a non-standard ``select a directory''
61-
dialog. Return an FSSpec object and a success-indicator.
65+
dialog. \var{prompt} is the prompt string, and the optional.
66+
Return an FSSpec object and a success-indicator.
6267
\end{funcdesc}
6368

6469
\begin{funcdesc}{FindFolder}{where\, which\, create}

Doc/mac/libmacfs.tex

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ \section{Built-in Module \sectcode{macfs}}
4848
without cancelling.
4949
\end{funcdesc}
5050

51+
\begin{funcdesc}{PromptGetFile}{prompt\optional{\, type\, ...}}
52+
Similar to \var{StandardGetFile} but allows you to specify a prompt.
53+
\end{funcdesc}
54+
5155
\begin{funcdesc}{StandardPutFile}{prompt\, \optional{default}}
5256
Present the user with a standard ``open output file''
5357
dialog. \var{prompt} is the prompt string, and the optional
@@ -56,9 +60,10 @@ \section{Built-in Module \sectcode{macfs}}
5660
the dialog without cancelling.
5761
\end{funcdesc}
5862

59-
\begin{funcdesc}{GetDirectory}{}
63+
\begin{funcdesc}{GetDirectory}{\optional{prompt}}
6064
Present the user with a non-standard ``select a directory''
61-
dialog. Return an FSSpec object and a success-indicator.
65+
dialog. \var{prompt} is the prompt string, and the optional.
66+
Return an FSSpec object and a success-indicator.
6267
\end{funcdesc}
6368

6469
\begin{funcdesc}{FindFolder}{where\, which\, create}

0 commit comments

Comments
 (0)