Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
I have a couple of recurrent problems with IDL that I was hoping somebody could set me straight on. I seem to be getting into a situation where I'll ask for a calculation and the variable will be represented as an array instead of a scalar. This causes some of the IDL routines to die. I'm not sure where in the code this occurs at, but can't IDL just take the single element value as the scalar? A 1-dim vector should be treated as a scalar. Since there is no way I can figure out where something becomes a vector rather than a scalar in my operations, does this mean I have to write extra code to handle conversions? How do I know what or where to write it? This would be ludicrous, so I must be wrong somewhere. The other recurrent problem is an out-of-space (memory) problem. How can I clear away any matrices I don't want around anymore to free up space? There are some things I like that IDL has over MATLAB (more than 2 D), but these two are no problem with MATLAB. It's gotta be my understanding of IDL. Thanks, Mark Cook mcook@lobby.ti.com