>Hi,
> I had problem using vfp5.0 with code like the two shown below
>
>1. -> DELETE FILE 'Test.&&'
>2. -> DO FROM frmDisplay WITH 'This file name is '+lcFileName+'.&&'
>
>The compiler keep pointing that I had missing '
>like -> 'Test. and 'lcFileName+'.
>All character after the && is taken to be comment. How do I overcome this problem. Thank you.
Virusim,
The && s the in line comment symbol for VFP. You can try using the CHR() function instead as in;
DELETE FILE ("Test." + CHR(38)+CHR(38) )