Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
19
Task/Nested-function/Maple/nested-function.maple
Normal file
19
Task/Nested-function/Maple/nested-function.maple
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
makelist:=proc()
|
||||
local makeitem,i;
|
||||
i:=1;
|
||||
makeitem:=proc(i)
|
||||
if i=1 then
|
||||
printf("%a\n", "1. first");
|
||||
elif i=2 then
|
||||
printf("%a\n","2. second");
|
||||
elif i=3 then
|
||||
printf("%a\n", "3. third");
|
||||
else
|
||||
return NULL;
|
||||
end if;
|
||||
end proc;
|
||||
while i<4 do
|
||||
makeitem(i);
|
||||
i:=i+1;
|
||||
end do;
|
||||
end proc;
|
||||
Loading…
Add table
Add a link
Reference in a new issue