symbols returns the names and the sizes of variables and functions.
Return Value
svSymbols is a string vector with the names of variables and functions. svTypeSize is a string matrix with four columns:
| Value | Meaning |
|---|---|
| svTypeSize[;1] | The first column contains the type of the variables. The type is one of four values: “Real”, “Complex”, “String”, “Function”. |
| svTypeSize[;2] | The second column contains the number of columns. |
| svTypeSize[;3] | The third column contains the number of rows. |
| svTypeSize[;4] | The fourth column contains the size of the variables in bytes. |
Parameters
nType is a combination of four values (see example):
| Value | Meaning |
|---|---|
| 1 | Real |
| 2 | Complex |
| 4 | String |
| 8 | User-Function (Functions written in UniScript) |
| 16 | Built-In-Function |
| 32 | Functions which were registered with RegisterFunction |
| 64 | Object |
| 128 | Variant |
Example
The following call prints the names of all variables.
symbols(1|2|4)
See also
id-1678059