From sth at info-igor.org Mon Feb 25 11:47:33 2019
From: sth at info-igor.org (Scott Hannahs)
Date: Mon, 25 Feb 2019 14:47:33 -0500


Subject: Getting a replacement for sprintf ?!
In-Reply-To: <395f4aab-f076-1ff0-0193-0dea37b13f7b@virtuell-zuhause.de>
References: <ef94acf8-bc29-f666-0b19-efdd505f10d9@virtuell-zuhause.de>
<B1034373-B330-4661-8EF9-4E64638EFCD2@info-igor.org>
<395f4aab-f076-1ff0-0193-0dea37b13f7b@virtuell-zuhause.de>
Message-ID: <154AFAC7-D0F5-4083-AA7E-B8006FCDC327@info-igor.org>



> On Feb 25, 2019, at 2:39 PM, Thomas Braun <thomas.braun at virtuell-zuhause.de> wrote:
>
> Am 25.02.2019 um 16:57 schrieb Scott Hannahs:
>
> Scott:
>
>> Having used the C format string primitives for a long time, I seem to
>> be comfortable with them and found them to be extremely flexible. I
>> think there there isn?t a limit on string lengths with sprintf other
>> than the Igor built in limit.
>
> Yes, exactly that I'm talking about (2400 characters in IP8).

???

"String data can be of unlimited size and there are no limits on what it may contain, i.e., it may be binary.?
https://www.wavemetrics.com/products/igorpro/datastorage <https://www.wavemetrics.com/products/igorpro/datastorage>

These are not zero terminated strings, but a length and an array of bytes. I think there is also and encoding attached to a string as meta data. Probably the limit is 2^64 bytes.

-Scott

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://info-igor.org/attachments/20190225/440aeb5b/attachment.html>