NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
#define INPUT_PINDIR_INPUT   0x04

Use with the direction command to set direction to output. OR this with the pin value.