On 20.01.2006 15:11, "Douglas Norton" <email@hidden> wrote:
>> Probably because it's hard to make an example of when such a function could
>> be used? At least, I'm at a loss - almost any mutation of a localized string
>> may break its correctness.
>
> When the string is: "Progress: Copying files (_numfile_ of
> _totalfiles_)"
>
> or a window title: "Font usage: _documenttitle_"
I don't buy this example - it's much easier to use format strings (%d, %s
etc) and CFStringCreateWithFormat(). Format strings even support reordering
of arguments.
- WBR, Alexey Proskuryakov
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden