Anonymous user
Day of the week: Difference between revisions
demo of variable-length space-padded opcodes in English dialect
(demo of variable-length space-padded opcodes in English dialect) |
|||
Line 1,000:
=={{header|Protium}}==
<lang html><@ SAI>
<@ ITEFORLI3>2121|2008|
<@ LETVARCAP>Christmas Day|25-Dec-<@ SAYVALFOR>...</@></@>
<@ TSTDOWVARLIT>Christmas Day|1</@>
<@ IFF>
</@>▼
</@>
▲ </@>
</@></lang>
English dialect variable-length space-padded opcodes
<lang html><# suppressimplicitoutput>
<# iterate foriteration literalstring3>2121|2008|
<# let variable capture>Christmas Day|25-Dec-<# say value foriteration>...</#></#>
<# test dayofweek variable literal>Christmas Day|1</#>
<# if>
<# say capture>Christmas Day <# say value foriteration>...</#> is a Sunday</#><# say keyword>__Newline</#>
</#>
</#>
</#></lang>
''Output''
|