Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1065

Help: Rainmeter Skins • Re: Substitute Limit?

$
0
0
I think it is more limited to the number of characters in the entire section. I believe a section's size can be no more than 32767 characters. That includes each key=value pair and newlines.
Just for reference, I just re-discovered this the hard way, trying to (RegExp) Substitute an input string longer than 32767 characters in a String measure for the past two days - so the 32767 char size limit is just for the "value", I don't think the "key" or the "section" play a part in this (though the "key" size might be limited to 32767 chars individually as well, didn't test that one). The effect is that the string starts over from 0 chars upwards, after surpassing 32767 chars, similar to how overflow numbers react.

It would be interesting to know how to avoid the issue when one doesn't know or can't control the size of such a "value" or string, since it's not even entirely "seen" by Rainmeter in order to break it in smaller parts... :???:

Statistics: Posted by Yincognito — Yesterday, 4:42 pm



Viewing all articles
Browse latest Browse all 1065

Trending Articles