Digital imput via arduino to processing

No, he meant using the # icon on the editor's toolbar to put the code in a proper code box.

Serial.print(00, BYTE);

Zero is zero whether you express it in octal or decimal.