#define with parameters
Posted: 31 December 2008, 13:05 PM
Is there another way in Zbasic to do the following ? I.e compiler directive to change a function name to something more more_readable. I might have the syntax wrong also ?
Thanks
Neil
Code: Select all
#define more_readblei(sfr, bit) (ibs(sfr, bit))
function ibs(byval a as byte, byval b as byte) as byte
ibs = a + b
end function
Sub Main()
Debug.print more_readble(2,4)
End Sub
Neil