Re: wrapping macros?

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Fri, 27 Oct 2000, mic _ wrote:
>> >// function that wraps the macro
>> >integer min(a,b) { return MIN(a,b) }
>> >
>> >-- David Cuny
>> 
>> 
>> Though I'd do this (in Euphoria):
>> 
>> function min(atom a,atom b)
>>   if (a<b) then return a end if
>>   return b
>> end function
>> 

The macros i want to use are not as simple as MIN(a, b) they are actually
complex for just a macro, i wonder why they did not use routines instead.
Ah well, ancient socket code is odd, quite odd.

Thanks David.

-- 
evil, corruption and bad taste
^[cense]

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu