This area was not well documented and may still have some bugs, and we did fix some recently. I tried the following code in our in house build and it works quite well.
void Read1Col(int nCol)
{
ASCIMP ascimp;
string strFile = GetOpenBox("*.dat");
if(AscImpReadFileStruct(strFile,&ascimp)!=0)
{
out_str("cannot read ascii file");
return;
}
Worksheet wks;
wks.Create();
ascimp.iRenameWKS = 0;
ascimp.iPartial = 1;
ascimp.iPartialC1=nCol;
ascimp.iPartialC2=nCol;
wks.ImportASCII(strFile, ascimp);
}
If it does not work for you, then it should in our next service release of SR4.
CP