Re: Standardized Euphoria
- Posted by Chris Bensler <bensler at nt.net> Dec 28, 2006
- 707 views
ags wrote: > > Hi Chris, scratch all this... I actually LOOKED at what you did (or should I > say SAW > (Sorry just woke up) > > The only thing remaining is about the warning for using deprecated include > files? > > Gary > > ags wrote: > > > > Chris Bensler wrote: > > > > > > 3. the xtra/ subfolder does not belong. The elf api should contain only > > > primary > > > functionality. > > > > Hi Chris, I like what you have done, though I think the database should > > remain > > seen as 'base'. It is a good general purpose file storage system and I > > don't > > see anything wrong with touting a language as containing that, especially > > given > > how mature the code is. > > > > Also to maintain compatiblity for a few sub versions how about keeping the > > standard > > include names and locations and have them emit a warning saying "this.e is > > deprecated, > > please use this/that.e instead". eg for safe.e just a short stub maintained > > until about version 3.5, or 4? > > > > Also, do forward and back slashes work for include sub folders, ie are they > > OS specific? (Can I use forward slashes on DOS/Windows?) > > > > Gary Good point. I wanted to bring it up before. I havent tested in v3, but in previous versions that allowed subfolders in the include statements, slashes were not interchangable. / would only work for linux and windows, but \ would only work for DOS and windows. From glancing at the source, I think the problem might have been addressed already in v3. From experience, I can tell you that you should normally use forward slash of course, since backslash is a valid character within file and folder names on unix systems. IMO, Eu should only support forward slashes to be in accordance with x-plat compatability since neither slash is a valid character in a DOS/WIN file name. We'll have to test and verify to see. It would be a simple fix in the interpretter if need be. Chris Bensler ~ The difference between ordinary and extraordinary is that little extra ~ http://empire.iwireweb.com - Empire for Euphoria