There are several ways to do this. Here is one way:
Names Default To Here( 1 );
dt = New Table( "example",
Add Rows( 8 ),
New Column( "Value",
Numeric,
"Continuous",
Format( "Best", 12 ),
Set Values( [33, 12, 15, 1, 7, 22, 9, 28] )
),
New Column( "Letter",
Character( 16 ),
"Nominal",
Set Values( {"A", "B", "", "D", "", "B", "C", ""} )
)
);
Alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
For( i = 1, i <= N Rows( dt ), i++,
If( :letter[i] == "",
:letter[i] = Substr( Alphabet, i, 1 )
)
);
Jim