Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/04/02 09:44
Read: times


 
#22500 - passing variable argument type to fn
How do I pass a variable arguemnt type to a function in keil c?
i.e
writeEEPROM(var type)
{
if (type byte)
{
writeOneByte();
}
if(type int)
{
writeTwoBytes();
}
if(type unsigned long int)
{
writeFourBytes();
}
}
Thx


List of 7 messages in thread
TopicAuthorDate
passing variable argument type to fn            01/01/70 00:00      
RE: passing variable argument type to fn            01/01/70 00:00      
RE: passing variable argument type to fn            01/01/70 00:00      
RE: passing variable argument type to fn            01/01/70 00:00      
RE: passing variable argument type to fn            01/01/70 00:00      
RE: passing variable argument type to fn            01/01/70 00:00      
RE: passing variable argument type to fn            01/01/70 00:00      

Back to Subject List