Editing variables as text in CSV format

Using CSV format, each variable is defined on one line of text. Each component of the variable definition is entered as one CSV element. CSV elements are separated by semi-colons. Each element is written between double quotes. A double quote within an element is represented by two double quotes. CSV format is an easy way to exchange variable declaration with Spreadsheet applications.

It is not mandatory that all elements (all columns) appear in the text. The first line must contain the list of columns used, using the following keywords:

name variable symbol
this item is mandatory
type name of the data type
this item is mandatory, and must appear before len, dim and init columns

string length if the data type is STRING
this item must be empty for other data types

dim dimensions in case of an array
there are at most 3 dimensions, separated by comas
attr attribute of the variable, can be:
IN : input parameter of a UDFB
OUT : output parameter of a UDFB
external : extern variable
RO if "YES" indicates that the variable has the read-only attribute
(note: you can also use "TRUE" or "1" value)
init initial value of the variable
must be a valid constant expression that fits the data type
tag tag (short description text)
desc description text
profile name of the embedded profile
embed embedded properties (same syntax as displayed in the variable editor grid)

Below is an example of CSV text for the declaration of 3 variables, with some columns missing: