question about void, passing data and print\write

this worked to a point, and i may be trying to do more than is possible(easily).

what didnt work is old way lcd.print(z[1],HEX); new way MyLCD(0,1,z[1],HEX); i get

CMSBridge_ino2.ino: In function 'void loop()':
CMSBridge_ino2:152: error: no matching function for call to 'MyLCD(int, int, byte&, int)'