>>No, the limit is 255 characters for a string literal.
>
>>
>>The problem might be that you are limited to a length of 256 characters in a single line and the x="" characters are adding to the character count per line
>
>How is that? I can open a large file containing a long string that far exceeds 256 characters (which I do a lot):
>
>lcFileContents = FILETOSTR("somefile.txt")
>
>I have other code that has RTF codes for a header that exceeds 256 characters. So how can the limit be 255 characters?
There's a difference between a memory variable that has a limit of about 16MB and a string literal with limit of 255 charaters. In your example
lcFileContents is a memory variable and
"somefile.txt" is a string literal.
--sb--