Syntax: @getnextname(str)
str: string,
Return: string
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”).
Examples
%objname = @getnextname("eqtest")
equation {%objname}.ls y c x1 x2 x3
assigns the next available name to the string variable %OBJNAME, and then uses the name to estimate an equation in the workfile.
Cross-references