I use these quite often and they may be of use to others. // gets the lenth of a c array #define lengthOf(a) std::end(a) - std::begin(a) // gets the object type inside a B4R::Object ---- Look in rCore.h for the type numbers #define OBJType(a) (int) a->type // gets the value inside a...