Help on how to use the IRremote

Arrch,

Thanks for your comments, I understood them, but, I do not understand were we call the function to read the IRcode.

{
IR_code();
}

I tryied to make a function to read the code. Is this wrong?

thanks,
Manuel