IDL

Negative Array Index in IDL

Chris blew my mind this morning when he showed me what happens if you use negative numbers to index an array in IDL (in versions lower than 8!). I would argue that it gives something that you don’t want, this is how you fix it.

IDL

OS Detection in IDL

A lot of what I do in IDL involves using paths all over the place, the problem is, I want my code to work in Windows or Linux, but we of course have that old problem of / v \.