public Int32 ArrayRemove( Variable val, bool all ) { return NI.ArrayRemove( _sgsEngine.ctx, var, val.var, all ? 1 : 0 ); }