From: Petr M. <mi...@ph...> - 2004-04-24 07:38:57
|
Currently, inside bla.gp called like call "bla.gp" one two 3 4 it is not possible to determine how many parameters were passed into it. The only way seems to be a global variable like params=4; call "bla.gp" one two 3 4 and to use if (defined(params) && params==4) ... supposing caller set the value correctly. I propose to add "variable" $# which will be set to number of available $0, $1, ... What do you think about? Could someone add it? --- PM |