Tree Control D Directive

Syntax

%D=" Separator "%

Arguments

Separator

Character. Optional. Default = ".". The separator between data elements in each line of the input string.

Description

The D directive specifies the separator between data elements in each line of the input string.

Examples 

The default separator is illustrated below.

dim data[10] as C
data[1] = "a.1.A"
data[2] = "a.1.B"
data[3] = "a.2.A"
data[4] = "a.2.B"
data[5] = "b.1.A"
data[6] = "b.1.B"
data[7] = "b.2.A"
data[8] = "b.2.B"
result=ui_dlg_box("Simple Tree",<<%dlg%
{ysize=2}
[%S=BLR%.32,10node^ 
;
[.32node]
%dlg% )

A different separator is illustrated below.

dim data[10] as C
data[1] = "a^1^A"
data[2] = "a^1^B"
data[3] = "a^2^A"
data[4] = "a^2^B"
data[5] = "b^1^A"
data[6] = "b^1^B"
data[7] = "b^2^A"
data[8] = "b^2^B"
result=ui_dlg_box("Simple Tree",<<%dlg%
{ysize=2}
[%S=BLR;D="^"%.32,10node^ 
;
[.32node]
%dlg% )

See Also