>>>>>Characters CHR(13) and CHR(10) are illegal within string literals. They are
>>>>treated as line terminators. Therefore, the literal you are trying to construct
>>>>is cut in the middle and is left without closing quote. The syntax error is expected.
>>>>
>>>>Execscript(),Macro,Evaluate(),NORMALIZE(),OLDVAL(),CURVAL()... have to evaluate a correct
>>>>VFP literals code ( ASCII(0|10|13) are not allowed into a VFP expression ).
>>>
>>>That's not quite what he said.
>>>
>>>
? EXECSCRIPT("?printLenString([A])"+CHR(13)+"?printLenString([A])")
>>>
>>>PROCEDURE printLenString(s)
>>>RETURN LEN(s)
>>>
>>>is perfectly valid code.
>>
>>Of course!
>
>Right. Guess I need more caffeine. Sorry. :-)
Not for me, i go to sleep.
Ciao