11 lines
304 B
Plaintext
11 lines
304 B
Plaintext
// Test a PascaLIGO function which uses other functions as subroutines
|
|
|
|
function inc ( const i : int ) : int is
|
|
block { skip } with i + 1
|
|
|
|
function double_inc ( const i : int ) : int is
|
|
block { skip } with inc(i + 1)
|
|
|
|
function foo ( const i : int ) : int is
|
|
block { skip } with inc(i) + double_inc(i)
|