Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Left('abc','def') does not produce error
Message
From
27/08/1999 19:17:30
 
 
To
27/08/1999 08:12:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00258286
Message ID:
00258700
Views:
11
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform