It seems that this error is not caused by the `string' command, but the representation of long string with quotes.
That is, we have to represent long string in the format [text] long string [/text] or {long string} instead of "long string"(with quotes), I've changed this representation and it works all right.
Something I've tested:
Code Select
(eval-string {(setq str [text]...(long string)...[/text])})
or (eval-string [text] (string {...(long string)...} ) [/text])
both works fine.
So there must be something strange in the newlisp scanner which might not recognize long string with quotes?
And sorry for just noticed this feature has been described in the manual.
Is there any consideration in choosing this representation? I just felt a little inconvenient with the inconsistency.