Please enable JavaScript to view this site.

A-Shell Consolidated Reference

To refer to the value of an element (i.e. use it as a source string in an expression), just use the same array syntax as for assignments, e.g.

for line = 1 to 10

    ? line, $items(line,"SKU");"  ";$items(line,"Description")

next line

for row = .minrow($table()) to .maxrow($table())

    for col = 1 to 10

        if not .isnull($table(row,col)) then

            ? row, col, $table(row,col)

        endif

    next col

next row