Develop and Download Open Source Software

Browse Subversion Repository

/[ttssh2]/branches/ttcomtester/tests/params_array.ttl

Log of /branches/ttcomtester/tests/params_array.ttl

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 10521 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 20 16:03:38 2023 UTC (13 months, 2 weeks ago) by zmatsuo
File length: 2107 byte(s)
Diff to previous 6437
add communication test tool

Revision 6437 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 11 08:53:11 2016 UTC (7 years, 7 months ago) by doda
Original Path: trunk/tests/params_array.ttl
File length: 2107 byte(s)
Diff to previous 6434
マクロファイル名指定なしで起動⇒ダイアログでマクロを選んだ時、
params[1] が設定されない問題を修正。

Revision 6434 - (view) (download) (annotate) - [select for diffs]
Added Thu Jul 7 11:46:02 2016 UTC (7 years, 8 months ago) by doda
Original Path: trunk/tests/params_array.ttl
File length: 1973 byte(s)
システム変数 params の追加
今までの param1 ~ param9 を配列にした物

[Ttssh2-devel 3025]
・現在の param1 ~ param9 とは別に配列 params にもパラメータを格納する
・param1 ~ param9 と params の値は同期等しない。
  param1 を書き換えても params[1] は変化しない。逆も同様。
・params の最大値には制限をかけない。10 番目以降にもアクセス可能とする。

[とりあえず現在の仕様]
・param1 ~ param9 は params[1] ~ params[9] としてアクセス可能。
・params[0] にはとりあえずコマンドライン全体を入れておく (awkの$0風)
・パラメータが 10 以上有る場合は paramcnt も 10 以上の値を取る
  以前の仕様(paramcntの最大値は9)と非互換
・パラメータの数が少なくても param1 ~ param9 は常に確保されているが、
  params は paramcnt の値までしか確保されない。
  ⇒ paramcnt==3 の時に params[4] へのアクセスは Index out of range

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26