◄Up► ◄Contents► ◄Index► ◄Back► ─────Programmer's WorkBench───────────────────────────────────────────────── The Newfile function creates a new pseudofile. If the Newwindow switch is set to Yes, it opens a new window for the file. See: Newwindow Newfile («newfile») 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 («Arg» «Newfile») 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 («arg» <textarg> «newfile») 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. See: Setfile, Openfile Returns True: Successfully created the pseudofile. False: Unable to create the pseudofile. See ◄File menu, New► ◄Pseudofiles (Defined)► -♦-