Paul Graham a �crit dans le message <391060A6.7ABCDCFE@cadence.com>... >Pascal Obry wrote: >> Even to compare two strings you have to write: >> if (strcmp (name1, name2) == 0) { >> ... >> I do prefer: >> if name1 = name2 then >> ... > >Just because the standard library provides a somewhat unreadable >function like strcmp doesn't mean you have to use it directly. In C you That was not my point. The problem is not the name, the problem is that C does not have a string type so there is no operator on them =, <, >, := and no attribute 'Length, 'Last, 'First... So, we can't even compare strings in Ada and C! Pascal. --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| --| "The best way to travel is by means of imagination"