Difference between revisions of "PUTFILE()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) (→PUTFILE()) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to display a Save As dialog allowing a filename to be selected or specified and returned. | Function to display a Save As dialog allowing a filename to be selected or specified and returned. |
Revision as of 15:47, 28 October 2009
Purpose
Function to display a Save As dialog allowing a filename to be selected or specified and returned.
Syntax
PUTFILE([<expC1>] [,<expC2>] [,<expC3>])
See Also
Description
The PUTFILE() function displays a Save As dialog allowing a filename to be selected or specified and returned. The dialog allows navigation through directories and shows a list of relevant files in that directory. The cursor keys, Return key and tab key can be used to navigate the different sections under a Screen Forms. If the user selects or specifies a file, the PUTFILE() function returns the name of that file. If no file is selected or specified, the PUTFILE() function returns an empty string "".
Parameters | Required | Description |
---|---|---|
<expC1> | No | The text to display at the top of the dialog. If not specified, 'Save As' is displayed. |
<expC2> | No | The default filename displayed in the text entry area.. |
<expC3> | No | A file extension skeleton. If specified only files with this extension are shown. |
Example
cProgramSaveAs = putfile("Save the program","default.prg","prg")
Products
Recital Mirage Server, Recital Terminal Developer