GetPathpart and GetFilePart

Mac OSX specific forum
cajomi
User
User
Posts: 45
Joined: Thu Dec 04, 2008 9:53 am
Location: Essen

GetPathpart and GetFilePart

Post by cajomi »

GetPathPart shows nothing,
GetFilePart shows everythings, not only the file part

Johannes
WilliamL
Addict
Addict
Posts: 1259
Joined: Mon Aug 04, 2008 10:56 pm
Location: Seattle, USA

Re: GetPathpart and GetFilePart

Post by WilliamL »

It is pretty important that these functions work. :)

Code: Select all

FullPathName$="User/WilliamL/pbfolder/pbprog.app"
FilePath$=GetPathPart(FullPathName$)
Filename$ = GetFilePart(FullPathName$)
MessageRequester(FilePath$,Filename$)
The result is:
User/WilliamL/pbfolder/
pbprog.app
MacBook Pro-M1 (2021), Tahoe 26.2, PB 6.30b6
cajomi
User
User
Posts: 45
Joined: Thu Dec 04, 2008 9:53 am
Location: Essen

Re: GetPathpart and GetFilePart

Post by cajomi »

Was my mistake, sorry,
every thing worked all right

Johannes
Post Reply