Hi Mindaugas,
If the function is fully C compatible, HB_SPRINTF() is okay,
but if it's not I'd rather use HB_STRFORMAT() to avoid any
confusion. Since Harbour programming and needs are somewhat
different from C I would think we cannot (and it's rather pointless to)
go for full compatibility, so it'd be better to just say the Harbour
formatting syntax is _inspired by_ the C syntax, but it's a slightly
different thing (and may have additional/incompatible extensions in
the future). Such extension in the future might be to support
regular Harbour picture strings: '%1$s{"!"}' (syntax glue is just a
quick example).BTW, we need to reserve hb_sprintf() C level function name for a real printf() compatible C level implementation to eventually remove dependency on C RTL printf() functions. So my vote overall is hb_StrFormat() for C level and HB_STRFORMAT() for .prg level function name. Brgds, Viktor On Fri, Jan 23, 2009 at 6:28 PM, Mindaugas Kavaliauskas <[email protected]>wrote: > >
_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
