General information
Category:
Coding, syntax & commands
>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only