Mailinglist Archive: yast-devel (116 mails)

< Previous Next >
Re: [yast-devel] Request for new Builtin
  • From: Arvin Schnell <aschnell@xxxxxxx>
  • Date: Fri, 13 Jun 2008 15:17:59 +0200
  • Message-id: <20080613131759.GA16727@xxxxxxx>
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.

ciao Arvin

--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >