Make your addr a word variable, not byte.
Also make sure you assign a value to your addr before the write command.
Example:
Addr=3
I2Cwrite sda,scl,contW,addr,[x] 'should write 3 to address 0, right?'
pause 10
Finally you may want to add DEFINE I2C_SLOW 1 if things are still not working.
Basically if your wired like the manual says and you do the above it works great.
Bookmarks