Anonymous user
Table creation: Difference between revisions
m
→{{header|REXX}}: whitespace/format
(Puttin) |
m (→{{header|REXX}}: whitespace/format) |
||
Line 180:
=={{header|REXX}}==
REXX doesn't have tables (structures), as there is only one data type in REXX: <code>character</code>
However, tables (or structures) can be constructed by using stemmed arrays, the index would (should) be a unique identifier, something akin to a SSN (Social Security Number) or something similar.
<lang rexx>id=000112222 /*could be a SSN or some other unique id (or number).*/▼
▲id=000112222 /*could be a SSN or some other unique id (or number).*/
table.id.!lastname ='Smith'
Line 199 ⟶ 194:
table.id.!town ='Gotham City'
table.id.!state ='NY'
table.id.!zip ='12345-6789'</lang>
=={{header|Tcl}}==
|