# XTREE Parameters > [HTML Version](xtreeparameters.htm) Parameters that supply data _to_ the routine are indicated with \[in\], and those used to get data back _from_ the routine are labeled \[out\]. | **Parameter** | **Type** | **I/O** | **Description** | |------|------|------|------| | [Srow, Scol,](srow_scol_erow_ecol.htm.md)
[Erow, Ecol](srow_scol_erow_ecol.htm.md) | [String](string.htm.md) | in | Position of display. | | [Answer](answer_xtree.htm.md) | | in/out | Sets and returns the identity of the selected row(s), and/or in the case of editable cells, supplies and returns updated values. | | [Array](array_xtree.htm.md) | Array | in | In array mode, specifies an array of strings to be loaded into the list box. | | [Itemcount](itemcount.htm.md) | [Num](num.htm.md) | in | Specifies a number of items (i.e. "rows"), with the precise meaning being relative to the opcode: | | [Coldef](coldef.htm.md) | [String](string.htm.md) | in | Defines the column structure. | | [Exitcode](exitcode.htm.md) | \+/-[Num](num.htm.md) | out | Returns a code indicating how the list was exited; 0 indicates a normal exit via the Enter key, 1 indicates Escape. See the [XTREE](xtreeflags1.htm.md)[ Flags](xtreeflags1.htm.md) parameter for enabling other exit keys. | | [XTREE Flags](xtreeflags1.htm.md) | B,4 | in | Used to enable additional exit keys and other options. | | [File](file_xtree.htm.md) | [String](string.htm.md) | in | Specifies a file to be used for input instead of the _array_ parameter. This is referred to as "file mode." | | [Mmoclr](mmoclr_xtree.htm.md) | Struct | in | Specifies colors for various parts of the pick list. | | [XTRCTL](xtrctl.htm.md) | Struct | in/out | A collection of extended parameters and options. | | [Filidx](filidx.htm.md) | B,4 | out | Creates an index to the file while it is being loaded into the array. | | [Xinfo](xinfo.htm.md) | [String](string.htm.md) | in/out | This optional parameter may be specified to allow XTREE to return additional information. |