メインコンテンツまでスキップ
バージョン:25.2

param

  • function

  • returns the value of one of the sequential parameters passed to the current handler

  • Call the param function with the number 1 for the first parameter, 2 for the second and so forth. Calling param with a number higher than the number of parameters that were passed to the handler will return empty. As a special case, calling param with the number 0 returns the name of the handler.

  • Examples: +

     if param(3) is empty then put "The third parameter was empty, or not passed at all."
  • Related: paramCount, parameterList, parametersByName