Newfile

Key

Unassigned

The Newfile function creates a new pseudofile. If the Newwindow switch is set to yes, it opens a new window for the file.

Newfile (Unassigned)

Creates a new untitled pseudofile. The new pseudofile is given a unique name of the form:

<Untitled.nnn>Untitled.nnn

where nnn is a three-digit number starting with 001 at the beginning of each PWB session. The window title shows Untitled.001. Use the pseudofile name <Untitled.001> to refer to the file in a text argument or dialog box.

Arg Newfile (ALT+A Unassigned)

Creates a new pseudofile with the name specified by the text from the cursor to the end of the line. The resulting full pseudofile name is:

"<Text on the line>Text on the line"

Arg textarg Newfile (ALT+A textarg Unassigned)

Creates a new pseudofile with the name specified by textarg. The resulting full pseudofile name is:

"<textarg>textarg"

If you want to use a different short name and window title, use the full name as an argument to the Setfile or Openfile functions. For example, Arg "<temp>Temporary File" Openfile opens a pseudofile in a new window that has the title Temporary File.

Returns

TrueSuccessfully created the pseudofile.

FalseUnable to create the pseudofile.