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)
IMO builtins are the core language components, without them the language would
be incomplete and some functionality could not be programmed. Everything else
should be in a library. Just like in C/C++...
--
Best Regards
Ladislav Slezák
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: [EMAIL PROTECTED]
Lihovarská 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]