Anonymous user
Queue/Usage: Difference between revisions
m
→{{header|ALGOL 68}}: renaming variables.
m (→{{header|ALGOL 68}}: define and use a +=: operator) |
m (→{{header|ALGOL 68}}: renaming variables.) |
||
Line 45:
# Stigler's 1939 Diet ... #
FORMAT diet item fmt = $g": "g" "g" = $"
[]DIETITEM stigler diet = (
("Cabbage", "111","lb.", 4.11),
Line 56:
# -*- coding: utf-8 -*- #
MODE
PR read "prelude/
PR read "prelude/queue_base.a68" PR;
Line 75:
<pre>
Get items from queue:
Cabbage: 111 lb. = $
Dried Navy Beans: 285 lb. = $
Evaporated Milk: 57 cans = $
Spinach: 23 lb. = $
Wheat Flour: 370 lb. = $
Total Annual Cost: = $
</pre>
|