Menu: Difference between revisions
→{{header|XPL0}}: Removed error message, and clarified the concern with a comment.
PatGarrett (talk | contribs) (Batch file housekeeping) |
(→{{header|XPL0}}: Removed error message, and clarified the concern with a comment.) |
||
Line 3,132:
=={{header|XPL0}}==
<lang XPL0>string 0;▼
▲string 0;
func Menu(List);
Line 3,140 ⟶ 3,138:
int Size, I, C;
[Size:= List(0);
if Size < 1 then return List(0); \if empty list, return pointer to 0
for I:= 1 to Size-1 do
[IntOut(0, I); Text(0, ": ");
|