Open brandy125 opened 3 years ago
GDL writes an additional comma at the end if the output is only a single number.
IDL> print,String(FORMAT = '(1(I1, :, ", "))', [1,1]) 1, 1 IDL> print,String(FORMAT = '(1(I1, :, ", "))', [1]) 1 GDL> print,String(FORMAT = '(1(I1, :, ", "))', [1,1]) 1, 1 GDL> print,String(FORMAT = '(1(I1, :, ", "))', [1]) 1,
Nice finding, a bug!
GDL writes an additional comma at the end if the output is only a single number.