NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
long

In NXC the long type is a signed 32-bit value.

This type can store values from LONG_MIN to LONG_MAX. To declare an unsigned 32-bit value you have to use the unsigned keyword followed by the long type. The range of values that can be stored in an unsigned long variable is from zero to ULONG_MAX.

long x = 2147000000;
long y = -88235;
unsigned long b = 0xdeadbeef;