Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Left('abc','def') does not produce error
Message
De
27/08/1999 19:17:30
 
 
À
27/08/1999 08:12:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00258286
Message ID:
00258700
Vues:
12
>>I have noted that calling
>>
>>? left('abc', 'def')
>>
>>will not cause an error.
>>Also, this returs different values under vfp 5 and vfp 6.
>>
>>Is this vfp bug?
>
>I don't know why it doesn't cause an error, but the syntax is incorrect. The >second parameter should be numeric.
>

Just tried this in VFP6.0 (no SP), FoxPro Win 2.5 and FoxPro DOS 2.6.

In VFP 6.0, it prints 'abc' with no errors.
In FPW 2.5 and FPD 2.6, it correctly raises a syntax error.
Melissa Danforth
Customsoft Corporation
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform