- Set CurrentFileName
The predefined string parameter
CurrentFileName contains the file
name associated with the file identifier to which output is currently
The string parameter
CurrentFileNamecontains the file name associated with the file identifier (as specified in its
Nameattribute) to which output from the
DISPLAYstatements is currently directed.
The value of
CurrentFileNameis only for display purposes. It can be modified programmatically from within the AIMMS model, but the output from
DISPLAYwill always be sent to the file or window whose name is specified in the
Nameattribute of the corresponding file identifier.
The physical file name associated with a file identifier can be changed
dynamically, by entering a string parameter in the
Name attribute of
the file identifier. The file identifier to which output is currently
directed can be retrieved through the element parameter
The element parameter
CurrentFile. File identifiers are discussed in
The File Declaration of the Language Reference.