[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Repeated *parameters*?
/ "Richard Quadling" <rquadling@googlemail.com> was heard to say: | 2008/7/18 Norman Walsh <ndw@nwalsh.com>: | |> I just noticed that methodparam has @rep. Does this make any sense, or |> is it an editorial accident? I can't think of any languages for which |> it makes sense. | | req (required) or rep (repeat). | | Many languages allow a variable number of arguments. If the argument type is | generic, then rep="repeat" would be a valid way to represent that. I suppose. Funcsynopsis has varargs for this though. I guess methodsynopsis doesn't have anything similar. Maybe it's ok, it just struck me as weird. What would it mean to say <methodsynopsis> <methodname>foo</> <methodparam> <parameter>param1</> </methodparam> <methodparam rep="repeat"> <parameter>param2</> </methodparam> <methodparam> <parameter>param3</> </methodparam> ... Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | In the life of saints, technically so http://nwalsh.com/ | called, the spiritual facilities are | strong, but what gives the impression | of extravagance proves usually on | examination to be a relative deficiency | of intellect.--William James
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]