Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of && in file and message problem
Message
 
À
17/07/1998 12:23:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00118676
Message ID:
00118718
Vues:
15
>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) )
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform