Options for Import
-k
Syntax: worksheet -k n
Skip n header lines when importing ASCII data. Determines the number of lines of header to skip when importing an ASCII file. When n = 0, skip 0 lines. When n = 1, skip 1 line, etc.
string fname$ = system.path.program$ + "Samples\Import and Export\F1.dat"; newbook; wo -k 1; open -w %(fname$);
| Note: This option is only affects "open -w" command. Default label rows display setting is the show Long Name, Units and Comments. "open -w" just puts first header row into LN, next into U, next into C. After "wo -k 1;", the import would ignore the first header line in the file and start with the second, third, etc. But those still get directed to LN, U and C. |
-kl
Syntax: worksheet -kl n
Store a maximum of n lines of header information in column labels when importing ASCII data. Determines the maximum number of lines of header to store as column labels when importing an ASCII file.
| Note: This option is only affects "open -w" command, similar to -k |