[Coco] Expert C programmer wanted

Roger Taylor rtaylor at bayou.com
Fri Feb 11 20:00:55 EST 2005


At 06:07 PM 2/11/2005, you wrote:
>On Feb 11, 2005, at 4:02 PM, John R. Hogerhuis wrote:
>
>>>Is Pascal like Basic09, in that functions can't return values?  If
>>>not, then
>>>you should be able to return a single value (a success/error code for
>>>example).
>>
>>Functions in Pascal must return a value, IIRC.
>
>Yes, in Pascal, functions return values, and procedures do not.


If you look up the definitions of function and procedure in most 
programming books, functions return something while procedures (I guess) do 
not, but I just call'em procedures even if they do something to a 
pass-by-ref variable.



-- 
Roger Taylor




More information about the Coco mailing list