3482 revise "print" command to support iteration |
print コマンドに繰り返しの動作に改良とその他の動作の挙動の改善もされています。
開発版だけでなく5.4ブランチのにも修正が入っていますので5.4.4 にはこの修正が
入ってくるはずです。
https://sourceforge.net/p/gnuplot/gnuplot-main/ci/8f2f7cc70706a77b46c6d75814d9c2dd8a2ce96f/
revise "print" command to support iteration
Example:
# print array content, one entry per line
do for [i=1:|Array|] { print Array[i] }
# print array content all on one line
print for [i=1:|Array|] Array[i]
CHANGES/FIXES:
- Always add a space between items being printed.
Previously a space was added only between numeric values
(and maybe a few other cases? it was unclear)
- Allow printing an array into a datablock.
Previously the array always went to stderr.
- "printerr" now works as documented.
Previously "set print $FOO; printerr <whatever>" would go to $FOO.
Bug #2488
〔ツリー構成〕
【3482】 revise "print" command to support iteration 2022/1/27(木)13:06 松岡 (849) |
※ 『クリックポイント』とは一覧上から読み始めた地点を指し、ツリー上の記事を巡回しても、その位置に戻ることができます.