"Petr Bajer" <[EMAIL PROTECTED]> wrote:
> Is it possible to have a string resource that consists of a pack of short
> strings separated by nullChr? How does one write the zero character value
> into RCP file? I have tried this:
>
> STRING ID 1 "Sun\000Mon\000Tue\000Wed\Thu\000Fri\000Sat"
>
> but it does not work - it works for any other character value such as \001,
> \002 but not for \000.
Use one of those other non-printable values, such as \001. Then in your
app copy the resource into RAM and do a search/replace. In your PilRC
file, don't forget to put one of these pseudo-null characters at the
end of your string; I assume you do want to end up with a double
nullChr at the end, right?
It's inelegant, but it worked for me.
--
Roger Chaplin
<[EMAIL PROTECTED]>