Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ロジックを書く必要がある
If y=1 then y=1; else y=y+x and z=5;
すべて正常ですが、ステートメントの 2 番目の部分 (および x=5) が機能しません。
あなたがこれをしたいように聞こえます:
if y^=1 then do; y=y+x; z=5; end;