Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/Function-prototype/Aime/function-prototype.aime
Normal file
10
Task/Function-prototype/Aime/function-prototype.aime
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
integer f0(void); # No arguments
|
||||
void f1(integer, real); # Two arguments
|
||||
real f2(...); # Varargs
|
||||
void f3(integer, ...); # Varargs
|
||||
|
||||
void f4(integer &, text &); # Two arguments (integer and string), pass by reference
|
||||
integer f5(integer, integer (*)(integer));
|
||||
# Two arguments: integer and function returning integer and taking one integer argument
|
||||
integer f6(integer a, real b); # Parameters names are allowed
|
||||
record f7(void); # Function returning an associative array
|
||||
Loading…
Add table
Add a link
Reference in a new issue