I just upgraded to ArcGIS 10 from 9.3, and I was quite happy that the new SAMPLE feature in Spatial Analyst keeps the layer names (or at least, most of the layer name) in the resulting output file.
However, I'm getting two error messages when running SAMPLE: Error 010328 (Syntax error at or near symbol), and 010267 (Syntax error in parsing grid expression). This happens whether I want to sample one layer or multiple layers.
At first, I thought it might be a long filename problem, but I've tried it with short (5 character) filenames with the same result. It's also not an IDRISI-format specific problem, as I've tried it with ARC grids with the same result. In fact, I'm now unable to get SAMPLE to work at all, no matter what layers I feed it.
Strangely, it seems that the service pack for ArcGIS 10 is what broke SAMPLE. I know for sure that it worked before installing the service pack.