On Wed, Mar 29, 2000 at 09:20:38AM +0200, Hummel, Timo wrote: > Hi, > > I would like to use return values in the style FUNCTION_INVALID or such > (#defined or consts) instead of returning numbers (0, -1, -2 etc). Is this > the standard style or do most KDE functions return numbers instead of > symbolic return values? Use an enum, I'd say, and make the function return an int, out of that enum. -- David FAURE david@mandrakesoft.com, faure@kde.org http://home.clara.net/faure/ KDE, Making The Future of Computing Available Today