数字と文字の和
数字と文字を組合わせて文字列を出力するスプリクトの確認です。
算術演算子を使用しないと、数字が文字列として追加されています。
REM ##### 数字+文字 #####
REM
jgawk 'END{a=3;b=" × ";c=500;d=" = ";e=1500;f=a b c d e f;print f}' nul>temp.txt
type temp.txt
pause
del temp.txt
REM
REM #####
| 固定リンク
数字と文字を組合わせて文字列を出力するスプリクトの確認です。
算術演算子を使用しないと、数字が文字列として追加されています。
REM ##### 数字+文字 #####
REM
jgawk 'END{a=3;b=" × ";c=500;d=" = ";e=1500;f=a b c d e f;print f}' nul>temp.txt
type temp.txt
pause
del temp.txt
REM
REM #####
| 固定リンク
コメント