Is it possible for IDL to produce an error message and stop the code if mathematical operations are attempted on arrays of different lengths? Here is an example? IDL> a = lindgen(10) IDL> b = intarr(2) + 1 IDL> help, a, b, a/b, a*b, a+b A LONG = Array[10] B LONG = Array[2] LONG = Array[2] LONG = Array[2] LONG = Array[2]
|