
Contents |
Read information related to import files.
X-Function not designed for Auto GetN Dialog.
1. impinfo trinfo:=mytree; mytree.=;
2. impinfo findex:=0 trinfo:=mytree; ;
3. impinfo ipg:=book1 findex:=1 fcount:=mycount trinfo:=mytree;
| Display Name | Variable Name | I/O and Type | Default Value | Description |
|---|---|---|---|---|
| Input Page | ipg |
Input Page | |
The worksheet to which some files have been imported. |
| File Index | findex |
Input int | |
The index of the file that has been imported into the workbook. Note that the index of the first imported file is 0 and the index of the second imported file is 1... The default file index is -1, which corresponds to the last file that has been imported. |
| Info | trInfo |
Output TreeNode | |
The tree for outputting the information.
|
| File Number | fcount |
Output int | |
Number of the imported file(s) |
The impinfo function is designed to read the information from the binary storage of the specified workbook and prints the result in the Command Window. Note that this X-function can be used only in Command Window.
To get the data range for the 1st file in book1 into a LabTalk tree variable called mytree, use the following script command:
impinfo ipg:=book1 findex:=0 trinfo:=mytree;
mytree.=