FILENEW

FILENEW returns a FILE variable that points to a new file constant in automatic storage.

Read syntax diagramSkip visual syntax diagram
>>-FILENEW-+-----+---------------------------------------------><
           '-(x)-'   

x
Restricted expression. x must be a file constant or an initialized file variable.

The new file variable has default file attributes unless an argument is specified. If x has been specified, the attributes in the declaration of that file are used. The new file remains valid and usable only until the termination of the block in which the FILENEW function is invoked.






Published: 23 December 2018