i kind of figured it out. i was looking for something like "@//fileiwanttoopen" so it is relative to the file i have open. but you way is groovy too. thanks --carol
> ---------- > From: [EMAIL PROTECTED] > Reply To: [EMAIL PROTECTED] > Sent: Friday, November 8, 2002 2:24 PM > To: '[EMAIL PROTECTED]' > Subject: Re: <lingo-l> moviePath > > Sure > > tChar = the last char of the moviepath > set the itemdelimiter = tChar > > Then you can get your paths by something like this: > > tPath = the moviepath > > delete the last char of tPath > delete tPath.item[tPath.item.count] > > So if you have the moviepath as > "drive/dir1/dir2/dir3/whatever/mymovie.dir" then tPath is > "drive/dir1/dir2/dir3/whatever/" > > First delete the last character (the final path seperator) then just > delete the final item to go back up one dir. > > > > [To remove yourself from this list, or to change to digest mode, go to > http://www.penworks.com/lingo-l.cgi To post messages to the list, email > [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L > is for learning and helping with programming Lingo. Thanks!] > > [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
