zl len, textedit, text length?
I have some big text files (dna sequences, with a space between each letter) I'd like to process in Max. When I put them into textedit, or a text object, the maximum length seems to be 2049. I'm trying to set the max length to 15000, in the attached patch I've tried a couple of different ways, but the length always comes out as 2049.
Is there a maximum length for textedit or text? I can't find it in the documentation, or on the forum.
Would it be better to have a big text file with no spaces? It seems Max would consider it to be a single symbol. Is there a way of stepping through a big symbol (or text file) character by character? I haven't tried javascript yet.
Any help would be appreciated - I feel like I'm missing something obvious but I can't figure it out!
you can populate a umenu then there are various ways to get the information out. I banged your list 5 or 6 times and filled the umenu to 15000 items. but (i didn't check) it probably kept reusing the first 2047. You could break your textmenu into 5 or six with all the variations. I added a way of stepping thru the umenu. or u can use random.
not sure if this helps.
Thanks a lot and sorry for the delay! I will pound through this a little more. It still seems like there might be a limit to the size of [textedit] (which I suppose makes sense) or [text] (which doesn't make sense, since it seems to be built to handle a lot of text). And if umenu takes more text than [text] that would be bizarre.
It is not just text as text, but limit of one line of text.
You can dump thousands of lines of text into and out of text object,
or coll, umenu