30 arguments in functions (?)

Olivier Hallot olivier.hallot at documentfoundation.org
Tue Dec 3 04:38:25 PST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Em 03-12-2013 10:13, Eike Rathke escreveu:
> Hi Olivier,
> 
> On Friday, 2013-11-29 19:57:00 -0200, Olivier Hallot wrote:
> 
>> Most of the translation I have about Calc functions such as SUM, SUMIF,
>> COUNT states that "arg1, arg1... arg30 are 30 arguments for the
>> function...."
>>
>> Some people here are discorvering that, in fact, you can have up to 255
>> arguments in your function.
>>
>> So, what should we put in our translation? Is this a unlisted feature?
> 
> The functions' number of possible parameters is 255, but the
> FunctionWizard UI currently is limited to 30 arguments, if you have
> a function with more arguments the remaining arguments and separators
> get squeezed into the last parameter's UI edit field, which looks odd
> but still works. That's why you encounter the magic number 30 in the
> FunctionWizard descriptions that maybe also made it into the help text.
> 
> So in translations of the current FunctionWizard function descriptions
> I'd stick with the 30 (saying 255 there but not actually supporting it
> in the UI would be weird), but not mention that number elsewhere.
> 
>   Eike
> 
Thanks Eike for the explanation. Although it is a limit almost never
reached, do you think this limit can be lifted through an easy-hack?
(maybe there is just no demand for that...)

Regards
- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
The Document Foundation, Kurfürstendamm 188, 10707 - Berlin, Germany
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts
Legal details: http://www.documentfoundation.org/imprint
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSndC+AAoJEJp3R7nH3vLxMl8H/37IOC0tMwFR/zm0dILyZb+l
8Cq6y6UV2yT2dn9rczb8RKmJ1TexVPPia59/dO+g5mhzju5yKyC7zFmg4nTb6No2
WSybrYaEedri2DyVizAJHwdWoZh2z8bPhIY7RsJKbwDANXvVobK9/G203MCApfnN
JSt7DzCkq+dFXdyg2Ob7zHhfetk6gGMie40o/l60ZdQn5vvm8rxPUQKZdSxvCl2P
+1VrijHBtUsPJlDIdZYfX46uau96ds6hPkR4UeQYfJTNrbG3fGTsa8cta5K7WCNT
2uTm3NBrU+osnzwWm8ZrfhiBOD5TwOKWMsGRBUcd1imOBORHAjZ0SbureX/pC9U=
=GguQ
-----END PGP SIGNATURE-----


More information about the LibreOffice mailing list