"there is a folder" not case sensitive

Jim Ault jimaultwins at yahoo.com
Fri Mar 19 13:04:40 EDT 2010


On Mar 19, 2010, at 5:53 AM, Sarah Reichelt wrote:
>
> Does anyone know a way to make "there is a folder" case sensitive?
> I have tried setting the caseSensitive to true but that doesn't help.
>
> In this case, I have a list of folders from a case sensitive web site
> and there are two folders with the same name but one has an upper case
> letter.
> While this is not an ideal situation, it's not something I can
> dictate, but I have to be able to work with it.
> At the moment, it looks like I have to write my own "there is a
> folder" routine, unless anyone knows how to make it case-sensitive.

I think that 'there is a folder' is a query to the operating system,  
thus not explicitly a Rev-controlled function.  If the operating  
system sees "folderX" and "folderx" as the same, then 'there is a  
folder' will return true.

My solution would be to get a list, then use "is among the lines", or  
"lineoffset" with caseSensitive as true.


Jim Ault
Las Vegas






More information about the use-livecode mailing list