Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select speed question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00971916
Message ID:
00972157
Views:
12
<snip>

>If you agree that VFP should optimize STR(), I think you will also agree that VFP should optimize other string functions (LEFT(), REPLICATE(), LEFT(), RIGHT(),...) when the parameter determining the length of the resulting string is a numeric literal. Therefore, the bug in VFP9 is not limited to STR().

Hi Ben,

The length of the resulting string returned by LEFT() and RIGHT() functions isn't determined by the second parameter only. IOW, a numeric literal as the second parameter determines only max lenght of the result and doesn't guaranty that result will have fixed lenght.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform