` Get Path components (Jeff Slarve ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Get Path components
2001-05-01 -- Jeff Slarve
 
Map Module('') FNSplit(*CSTRING Path, *CSTRING Drv, *CSTRING Dir,| *CSTRING Nme, *CSTRING Ext),| SIGNED,PROC,RAW,NAME('_fnsplit') end end GetFileNameFromPath PROCEDURE (String pPath) Path CString(300) Drive CString(10) Dir CString(200) Name CString(200) Ext CString(30) CODE If ~pPath Return('') end Path=Clip(pPath) FNSplit(Path,Drive,Dir,Name,Ext) Return(Name)


Today is November 21, 2024, 7:40 am
This article has been viewed 35306 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: