From: Eric B. <er...@go...> - 2007-12-08 14:20:40
|
Colin Paul Adams wrote: >>>>>> "Eric" == Eric Bezault <er...@go...> writes: > > Eric> If you were using files the Gobo way, you would get "False" > Eric> with the following code: > > Eric> local l_file: KL_TEXT_INPUT_FILE do create l_file.make > Eric> ("dummy") l_file.open_read print (l_file.is_open_read) > > Eric> However, using files the ISE way, you will not get the > Eric> exception as expected. > > I don't really understand any of that: > > 1) This is all Gobo code, using the file resolver. > 2) How is gec managing to open the upper-case file in the first place, > when it has a lower-case name? Ah, you said that you didn't get the error message, but I didn't realize that it meant that it was actually able to read the file. I have no idea why it manages to open the file. And I can't try it on a small example since I don't have access to a Linux or other case-sensitive operating system. It's too bad that SourceForge does not offer its compile-farm anymore. As far as I can see, the code ends up calling fopen(). I don't know if there is an option to make it case-insensitive or case_sensitive at will. -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |