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.
私はこれを一度だけ尋ねなければなりません...
& "," &私たちがいつも使用している試行錯誤よりも、出力をコンマで区切るよりエレガントな方法はありますか?
& "," &
print #myTextFileNumber, myValue1 & "," & myText2 & "," & myValue3
あなたが探しているコマンドはwrite
write
ヘルプから:
Write#ステートメントは、ファイルに書き込まれるときに、アイテムの間にコンマを挿入し、文字列を引用符で囲みます。
あなたの例では、コマンドは次のようになります。
write #myTextFileNumber, myValue1 , myText2 , myValue3
値を配列に格納する場合は、を使用できますjoin。
join