Command Reference : Function Reference : Function Reference: W
  
 
@wfname
 
Name of current default workfile.
Syntax: @wfname
Return: string
Returns a string containing the name of the current default workfile.
Examples
The command
string temp = @wfname
saves the current workfile name in the string variable TEMP, while
%tmp = @wfname + "bak"
wfsave %tmp
extracts the current workfile name, adds the text “bak” and then saves the current workfile using the new name.
Cross-references
See also @pagename and @wfpath.