Mikhail Kalenkov wrote:

Hi!

> oh, again I forgot to change field To, sorry

I wonder, why it seems necessary for you to replace al chars
by lower case while it is not necessary for other. I see no
problem with doing the string comp in lowercase but I'd like
to understand why this is necessary at all.

This photo-stuff mainly uses a hash (= list in tcl? I'm
alsways confusing Tcl-speak) with the player names as index.
It then just uses the data of this hashs entries as photo to
display.  Acutally, this way has some drawbacks with very
large photo collectios, which are mainly memory related
(FIDE.spf is one example, add a conversion from CB's
Mega...), but there should not be any principle problems.

Anyway, in FIDE.spf the index to this hash is "Kasparov,
Garry" and not "kasparov, garry". Therefore, I wonder why
lowercase should work at all. Its a bit strange for me.

Additionally, by removing te trimEngineName lines you sould
not see any "player photos" for chess engines anymore.

Can you specify a bit about the system you use? did you do
any processing of FIDE.spf? Suppose you're using unix, does
this match your system as well:

(2053) /tmp> grep -i kasparov FIDE.spf
photo "Kasparov, Garry" {
photo "Kasparov, Sergey" {
photo "Kasparova, Tatiana" {

As you see, they all use upper/lower case letters...

<confused>

-- 

Kind regards,                /                 War is Peace.
                             |            Freedom is Slavery.
Alexander Wagner            |         Ignorance is Strength.
                             |
                             | Theory     : G. Orwell, "1984"
                            /  In practice:   USA, since 2001

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to