I must create one array from two array
Local aPrompt := { "a", "b", "c", "d", "e", "f", "g", "h", "i" }
Local aData := { { " ", " ", " ", "2", " ", "3", "8", " ", "1" }, ;
{ " ", " ", " ", "7", " ", "6", " ", "5", "2" }, ;
{ "2", " ", " ", " ", " ", " ", " ", "7", "9" }, ;
{ " ", "2", " ", "1", "5", "7", "9", "3", "4" }, ;
{ " ", " ", "3", " ", " ", " ", "1", " ", " " }, ;
{ "9", "1", "7", "3", "8", "4", " ", "2", " " }, ;
{ "1", "8", " ", " ", " ", " ", " ", " ", "6" }, ;
{ "7", "3", " ", "6", " ", "1", " ", " ", " " }, ;
{ "6", " ", "5", "8", " ", "9", " ", " ", " " } }
I wish an array type
for n= 1 to 9
AAdd( aTest,{ aPrompt[n],{adata[1][n],;
adata[2][n],;
adata[3][n],;
adata[4][n],;
adata[5][n],;
adata[6][n],;
adata[7][n],;
adata[8][n],;
adata[9][n] } } )
next
why it not run ?
I tried also with
For n= 1 to 9
aEval(aPrompt, {|x| aAdd( atest, {aPrompt[x],aSudoku[n][x] })} )
next
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com


