変数に対して機能しない文字列の比較こんにちは、MacでJMP15を使用しています。 次のコードが機能します。
dt = current data table();
Current Data Table() << Row Selection(
Select where( (:Stat == "Max"), Current Selection( Extend ))
);
しかし、これはしません:
dt = current data table();
Current Data Table() << Row Selection(
var = "Max"
Select where( (:Stat == var), Current Selection( Extend ))
);
誰かが2番目のものの何が悪いのか説明できますか?
スクリプティングRe:変数に対して機能しない文字列の比較var = "Max"を<< Row Selection()の外に移動してみてください。 そして不足しているものを追加します;
Re:変数に対して機能しない文字列の比較変更はありません(ただし、返信ありがとうございます)。