Re: Anxiety over 4.0
- Posted by Jeremy Cowgar <jeremy at ?owg?r.com> Jun 12, 2008
- 709 views
Bernie Ryan wrote: > > Jeremy: > > Here is some sample "C" type functions from my motor library. > > The correct way to emulate "C" type routines is to > except only 'int' as input and return 0 or -1 as output. > > Other wise you are going to confuse "C" users by calling them "C" types. > Ah.. I see what you are saying. However, I am not trying to emulate C. Can you please direct me to the point where the docs says C type routines? I will fix that. They are not C types. They do take an object as the parameter for the reason of being able to say: ? t_alpha(65) -- 1 ? t_alpha(188) -- 0 ? t_alpha('A') -- 1 ? t_alpha("ABC") -- 1 ? t_alpha("AC#") -- 0 i.e. it will handle atoms or sequences. -- Jeremy Cowgar http://jeremy.cowgar.com