Command Reference : Programming Language Reference
  
 
@getnextname
Syntax: @getnextname(str)
Argument: string, str
Return: string, name
Returns a string containing the next available variable name in the workfile, starting with str (i.e. entering “result” will return “RESULT01” unless there is already a RESULT01, in which case it will return “RESULT02”).
Cross-references
See also @isobject and @makevalidname.