该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


In the Concat function, expressions yielding names are treated like character strings, but globals that have the name values are evaluated. The following example demonstrates that if you have a stored name value, you need to either use Char before storing it in a global, or Name Expr on the global name.
c = n[1] || "def";
Show( c );
m = Expr( mno );
c = m || "xyz";
Show( c );
m = Expr( mno );
c = Name Expr( m ) || "xyz";
Show( c );
m = Char( Expr( mno ) );
c = m || "xyz";
Show( c );
Concat Items() converts a list of string expressions into a single string, with each item separated by a delimiter. If unspecified, the delimiter is a blank. Its syntax is
a = {"ABC", "DEF", "HIJ"};
result = Concat Items(a, "/");
result = Concat Items( a );