Hi,
Both can be used to return the string registers. However, if the registers are not assigned to a variable first, the double quotes are needed.
function string testStr()
{
string str$ = %H;
return str$;
// return "%H"; // return string register directly, need double quotes
}
string str$ = testStr()$;
str$=;
Penn