This is very useful for me. Usually I have to convert *.sp spectral files into *.asc first before any further data analysis.
Questions are:
1. would you please present code which can generate *.asc from *.sp? some of the critical information which can be found in *.asc was missing;
2. is it possible to provide simiar function by other programming languages, like C/C++, and VBA ?