Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CD and justStem()
Message
From
19/06/2006 14:16:00
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
01129637
Message ID:
01130032
Views:
14
>>>In VFP8, justStem("c:\dir\lvl\") return empty
>>>but
>>>justStem("c:\dir\lvl") return "lvl"
>>>
>>
>>Makes sense to me. In the first case, there is no "stem" since there's no file name. In the second case, VFP assumes the filename is "lvl".
>>
>>Tamar
>
>It might make sense , though I would debate that and VFP8 is not consistent in that set('directory') returns c:\dir\lvl , more important is that it brok VFP6 code and I don't recall the CD ? and justStem() changes being listed anywhere.

I just tested the same two strings with JustStem() in VFP 6 and got the same results as in 9 (where I tested before). So it doesn't look like JustStem() has changed.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform