SBROWS() Short: ------ SBROWS() Determine number of rows in a box Returns: -------- <nRows> => rows in the box Syntax: ------- SBROWS(nTop,nBottom,[lIncludeFrame]) Description: ------------ The number of rows of a box with top of <nTop> and bottom of <nBottom> is returned. By default, the frame is included (the top and the bottom) [lIncludeFrame] by default is True - and all rows are counted. If passed as False, only the inside rows are counted. Examples: --------- nRows := SBROWS(nTop,nBottom,.f.) for i = nTop to nRows @nTop+i,nLeft say i next Source: ------- S_BOXES.PRG