I could not find anything online, but I'm curious if there's a more concise syntax for the following example:
if ( obj[a][b][c] != 0 ) {
obj[a][b][c] = ( obj[a][b][c] / 2 ) + obj[a][b][c] + 100;
obj[x][y][z] = obj[a][b][c];
}
I know for the times that I'm working with the actual value I could just cache it in a temporary variable, but I'm more interested in replacing the "obj[...] = " part with something more concise.