1. SSL Question
Hi,
The fuction file_type in the SSL.E has the following line:
if find('*', filename) or find('*', filename) then return 0 end if
What is the purpose of the second find? Isn't it redounded?
Ken
2. Re: SSL Question
On 11 Jul 2005, at 9:23, Ken Orr wrote:
>
>
> posted by: Ken Orr <orr_kenneth at yahoo.ca>
>
> Hi,
>
> The fuction file_type in the SSL.E has the following line:
>
> }}}
<eucode>
> if find('*', filename) or find('*', filename) then return 0 end if
> </eucode>
{{{
>
> What is the purpose of the second find? Isn't it redounded?
Or redundant?
Kat
3. Re: SSL Question
Kat wrote:
>
> On 11 Jul 2005, at 9:23, Ken Orr wrote:
>
> >
> > posted by: Ken Orr <orr_kenneth at yahoo.ca>
> >
> > Hi,
> >
> > The fuction file_type in the SSL.E has the following line:
> >
> > }}}
<eucode>
> > if find('*', filename) or find('*', filename) then return 0 end if
> <font color="#330033">> </eucode>
{{{
</font>
> >
> > What is the purpose of the second find? Isn't it redounded?
>
> Or redundant?
Opps! :-$ Sorry, I'll try to pay more attention to my spelling in the future.
Bad spelling aside, I still wonder why the second find is needed.
>
> Kat
>
>
4. Re: SSL Question
- Posted by "Kat" <gertie at visionsix.com>
Jul 11, 2005
-
Last edited Jul 12, 2005
On 11 Jul 2005, at 12:05, Ken Orr wrote:
<snip>
> > > }}}
<eucode>
> > > if find('*', filename) or find('*', filename) then return 0 end if
> > <font color="#330033">> </eucode>
{{{
</font>
> > >
> > > What is the purpose of the second find? Isn't it redounded?
> >
> > Or redundant?
>
> Opps! :-$ Sorry, I'll try to pay more attention to my spelling in the future.
It caught my eye because i want my "bot" to understand
written english. Much like the sportscasters on tv here now
say "seed" for "seat" in tennis rankings because they can't
pronounce (or hear?) the correct pronunciation, and they don't
bother with the etymology of the word, nor it's denotations,,,
and how i see people here unable to use a lookup directory
of any kind in a library because when they "sound out" a word
they come up with a spelling impossible to locate,,, well, i
wonder about these things. So in this case, you *can* spell
all the keywords of Euphoria properly, and i assume pronounce
them properly, but do you pronounce "redundant" as "redounded"? You can
feel free to spell or say it how you like, i am only trying to backtrack how i
can tell a "bot" that Soundex and Metaphone will not arrive at the correct
pronunciation with this case. The Eu code i have would not have located
"redundant", and i'd like for it to. If i widen the brute force search that much
though, i'd get a flood of highly improbable matches.
> Bad spelling aside, I still wonder why the second find is needed.
No clue why it was coded that way. Like you say, it's not needed.
Kat
5. Re: SSL Question
- Posted by cklester <cklester at yahoo.com>
Jul 11, 2005
-
Last edited Jul 12, 2005
Kat wrote:
>
> It caught my eye because i want my "bot" to understand
> written english. Much like the sportscasters on tv here now
> say "seed" for "seat" in tennis rankings because they can't
> pronounce (or hear?) the correct pronunciation, and they don't
> bother with the etymology of the word, nor it's denotations,,,
They're saying it right.
http://www.yourdictionary.com/library/seeds.html
http://www.google.com/search?hl=en&q=tennis+rankings+seeds&btnG=Google+Search
-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/
6. Re: SSL Question
- Posted by akusaya at gmx.net
Jul 12, 2005
Sorry, that should have been
if find('*', filename) or find('?', filename) then return 0 end if
It checks for wildcards on the filename, since
file_type("c:\ab?c") would not make sense if there is a directory
called c:\ab1c and a file called c:\ab2c.
I didn't realize it after using it for about 2 years.
Thank you very much!
K> posted by: Ken Orr <orr_kenneth at yahoo.ca>
K> Hi,
K> The fuction file_type in the SSL.E has the following line:
K> }}}
<eucode>
K> if find('*', filename) or find('*', filename) then return 0 end if
K> </eucode>
{{{
K> What is the purpose of the second find? Isn't it redounded?
K> Ken