Align columns: Difference between revisions
Content added Content deleted
imported>Chinhouse No edit summary |
m (→EasyLang) |
||
Line 3,276: | Line 3,276: | ||
{{trans|AWK}} |
{{trans|AWK}} |
||
<syntaxhighlight |
<syntaxhighlight> |
||
global width inp$[] . |
global width inp$[] . |
||
proc read . . |
proc read . . |
||
Line 3,289: | Line 3,289: | ||
. |
. |
||
. |
. |
||
read |
|||
# |
# |
||
proc out mode . . |
proc out mode . . |
||
Line 3,319: | Line 3,319: | ||
. |
. |
||
. |
. |
||
out 1 |
|||
print "" |
print "" |
||
out 2 |
|||
print "" |
print "" |
||
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> |
||