Re: Path separators...final

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek Parnell wrote:
> 
> Al Getz wrote:
> > 
> > Derek Parnell wrote:
> > > 
> > > Here is another possibility ...
> 
> 
> > Hi Derek,
> > 
> > 
> > Would it be possible for you to describe what you are trying to
> > achieve here (and how you're trying to achieve it), 
> 
> The list of paths would begin and end with the delimiter, and the delimiter
> would exist inbetween each path in the list. The delimiter would not be any
> character in any of the paths. The delimiter would be chosen from the list 
> 
>   ;,`'<>|=+ 
> 
> Using this method, you just need to look at the first character to know what
> the delimiter is and then pick out the paths from the list. Adding a new path
> would just reexamine all the paths for one of the allowable delimiters that
> doesn't exist in an of the existing or new path.
> 
> > or should i
> > just run the code and see how it works?
> 
> Yes. Read the code first to understand it.
> 
> -- 
> Derek Parnell
> Melbourne, Australia
> Skype name: derek.j.parnell


Hi Derek,


Well ok, but, i was saying in another post that i did want to allow
the form:
  c:\MyDir\MyFile
as well as:
  'c:\MyDir\MyFile'
so that the user has the choice to only type the path itself when
only ONE path is filled in.

You think this is compatible with your code?

I'll try to run the code you presented last time too.


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu