I'm not sure about that (the limit being inherent in the browser app). Initially, I thought so. I thought that nn4 had a code line limit of 32k until I figured out how to pass a single, unbroken string that the browser would read as multiple lines (spitting ["'string 1'" + "\n" + "' +string 2'"] out of perl looks like one unbroken string to javascript, but two lines to the browser), and that didn't work. I then thought that javascript might not be able to handle a string longer than 32k. To test that, I had javascript assemble a string 200k characters long and then alert(that long string) which worked fine. (I also had it print that long unbroken string to the document, which worked fine, which corroborated the browser test.) So, at this point, it looks like the dynapi new label(long string) call itself.
Thanks. Ochen K. Todd Marshall wrote: > > This may be a problem with NN4 because it was written a few years ago > when 64K was a more common limit for pointers and data buffers. Newer > browsers should use flat memory (32 bit pointers) I would hope and not > have this problem. Or the C run time library NN4 is using (str..() > functions) has this limit also. > The limit is inherently defined (in C or assembler source code for the > application) > Todd. > > -----Original Message----- > From: Ochen K. [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 04, 2001 12:13 PM > To: [EMAIL PROTECTED] > Subject: [Dynapi-Help] character limit? > > I've scoured the archives as best as I can, but haven't come across > the definitive answer that I'm looking for. I've read things like 'I > know panels shouldn't be used for large pieces of content...' but is > there a limit and where is that limit defined? > > I'm having problems in nn4 passing strings over 32k long in a > loadpanel() or setHTML() call. IE seems to handle it fine. Any clues? > > Thanks. > > Ochen K. > > _______________________________________________ > Dynapi-Help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > _______________________________________________ > Dynapi-Help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dynapi-help _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help