Align columns: Difference between revisions

Content added Content deleted
imported>Chinhouse
No edit summary
Line 3,276: Line 3,276:
{{trans|AWK}}
{{trans|AWK}}


<syntaxhighlight lang=easylang>
<syntaxhighlight>
global width inp$[] .
global width inp$[] .
proc read . .
proc read . .
Line 3,289: Line 3,289:
.
.
.
.
call read
read
#
#
proc out mode . .
proc out mode . .
Line 3,319: Line 3,319:
.
.
.
.
call out 1
out 1
print ""
print ""
call out 2
out 2
print ""
print ""
call out 3
out 3
#
#
input_data
input_data
Line 3,332: Line 3,332:
Further,$allow$for$each$word$in$a$column$to$be$either$left$
Further,$allow$for$each$word$in$a$column$to$be$either$left$
justified,$right$justified,$or$center$justified$within$its$column.
justified,$right$justified,$or$center$justified$within$its$column.

</syntaxhighlight>
</syntaxhighlight>