add_variables
Append empty variables to a STATISTICA spreadsheet, specifying type, count, and insertion position; optionally save results as .sta or edit a live instance.
Instructions
Append new empty variables to a spreadsheet. type: 0=numeric, 1=text, 2=integer, 3=byte.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short name for the new variable(s). | |
| path | Yes | Absolute path to the source file. | |
| save | No | Optional destination path to persist the result as .sta. | |
| type | No | Variable type. Default 0 (numeric). | |
| after | No | Insert after this 1-based variable index. 0 appends at the end. | |
| count | No | How many variables to add. Default 1. | |
| sheet | No | ||
| attach | No | Attach to the already-running STATISTICA instance and edit it live (no new process, the app is not closed). | |
| longName | No | Long/description name. | |
| typeLength | No | Declared length for text variables. |