Code in function
Compila but error reading