Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#define system.
|
||||
#define extensions.
|
||||
|
||||
// --- Ackermann function ---
|
||||
|
||||
|
|
@ -14,13 +15,11 @@
|
|||
|
||||
#symbol program =
|
||||
[
|
||||
control from:0 &to:3 &do: i
|
||||
control forrange &int:0 &int:3 &do: (&int:i)
|
||||
[
|
||||
control from:0 &to:5 &do: j
|
||||
control forrange &int:0 &int:5 &do: (&int:j)
|
||||
[
|
||||
console << "A(" << i << "," << j << ")=" << (ackermann:i:j).
|
||||
|
||||
console writeLine.
|
||||
consoleEx writeLine:"A(":i:",":j:")=":(ackermann:i:j).
|
||||
].
|
||||
].
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue