Mailinglist Archive: yast-devel (116 mails)
| < Previous | Next > |
Re: [yast-devel] Request for new Builtin
- From: Stanislav Visnovsky <visnov@xxxxxxx>
- Date: Fri, 13 Jun 2008 15:28:20 +0200
- Message-id: <200806131528.20321.visnov@xxxxxxx>
Dňa Friday 13 June 2008 15:17:59 Arvin Schnell ste napísal:
Well, it does not work in YCP, yes. But rest of core is ready - hint, hint ;-)
Stano
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx
| < Previous | Next > |