A minor fix of The Aligner on some object oriented code.
This had problems in prior versions because of the := on the continued
line... (line 3)
o:goBottomBlock := { || i := len( a ) }
o:SkipBlock := { | n, ntemp | ntemp := i, ;
i := iif( x, min( i + n, len( a ) ), max( 1, i + n ) ), ;
i - ntemp }
---
The Aligner is now able to align DBCREATE() arrays.
So, this:
dbcreate( 'filename.dbf', { { 'xxxxx', 'C', 23, 0 }, ;
{ 'yyy', 'D', 8, 0 }, ;
{ 'yy', 'C', 8, 0 }, ;
{ 'yuu', 'D', 8, 0 }, ;
{ 'yijiiiyy', 'N', 9, 2 }, ;
{ 'yhhfyy', 'D', 8, 0 } } )
ends up looking like this:
dbcreate( 'FILENAME.DBF', { { 'XXXXX' , 'C', 23, 0 }, ;
{ 'YYY' , 'D', 8, 0 }, ;
{ 'YY' , 'C', 8, 0 }, ;
{ 'YUU' , 'D', 8, 0 }, ;
{ 'YIJIIIYY', 'N', 9, 2 }, ;
{ 'YHHFYY' , 'D', 8, 0 } } )