[Coco] Strings in DECB
Robert Hermanek
rhermanek at centurytel.net
Tue Oct 20 22:15:28 EDT 2015
I believe the maximum length is indeed 128. You may be getting a OS
error because you have not allocated any extra string space... try a
CLEAR 1000 statement at the beginning of your test program.
-RobertH
On 10/20/2015 9:01 PM, Theodore (Alex) Evans wrote:
> I was talking with a friend. We had a disagreement about the maximum length of strings under DECB. He claimed it was 128 and I believe d it was 255. So I did some testing. The results were puzzling. I created a string and began extending it. Any attempt to extend a string of 100 characters or more (even with an empty string "") results in an OS error as does any attempt to extend a string past 100 characters, but I can define and use a string up to 255 characters in length.
>
>
>
More information about the Coco
mailing list