Dňa Friday 13 June 2008 15:17:59 Arvin Schnell ste napísal:
On Fri, Jun 13, 2008 at 02:58:48PM +0200, Ladislav Slezak wrote:
Hi,
Arvin Schnell wrote:
Hi,
it's ITO Friday again and I would like to add a tiny builtin to YCP.
integer::range(integer n) integer::range(integer s, integer n)
[...]
Do we really need a new builtin for that? For string related functions we have String.ycp. There is also Map.ycp so I think there should be Integer.ycp with such functionality. (see SVN yast2/library/types/src)
True, but overloading is not possible in a module.
Well, it does not work in YCP, yes. But rest of core is ready - hint, hint ;-) Stano -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org