I knew there were limits for variables and if I am correct they are the same as field limits. I was not aware custom properties have no limits. It looks like reading in chunks is the way to go. Thank you.
John Balgenorth On Nov 19, 2014, at 7:41 AM, dunb...@aol.com wrote: > You only need to worry about that if you are loading all that data in a > field. You might store it in a custom property, for example, and never know > there was an issue at all. By the way, that might be useful for you, paging > data in usable chunks as needed. > > > But it would be a helpful hint, I guess. Or learn the hard way, like you did. > That is what I do. At least that method sticks, until I forget it, that is. > > > Craig > > > > -----Original Message----- > From: JB <sund...@pacifier.com> > To: How to use LiveCode <use-livecode@lists.runrev.com> > Sent: Wed, Nov 19, 2014 5:48 am > Subject: Re: Stripping Returns > > > Thank you. The logic is simple enough. > Even so it should be noted in the read > file that reading to the end of a file will > fail to provide you the info if the file has > more than 65,535 characters. > > John Balgenorth > > > On Nov 18, 2014, at 8:35 PM, dunb...@aol.com wrote: > >> Hi. >> >> >> Did you try this? Simple to do in a little test card. The chars beyond 65535 > will be lost. Do you see what the likely answer to your second question is? > Note > that reading from a file does not anticipate what you will do with the data. > Variables have no limits, within memory, of course, but what you do with that > data may hit a wall. >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: JB <sund...@pacifier.com> >> To: How to use LiveCode <use-livecode@lists.runrev.com> >> Sent: Tue, Nov 18, 2014 9:48 pm >> Subject: Stripping Returns >> >> >> A field has a limit on the amount of characters >> you can have on each line. What if I put the >> text of a field in a variable and it has 500,000 >> characters. Then I strip all of the returns that >> are in the field. Does that leave only one line >> with 500,000 characters? That exceeds the >> amount of characters allowed per line so what >> happens to the text in the variable? >> >> Another similar question is what happens if I am >> reading a file until the end and it is very large. Will >> returns be automatically placed if needed so the line >> limit got characters is not exceeded or do I need to >> read large files in sections that are less than the line >> limit for characters? >> >> John Balgenorth >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode