Initial data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 72d218235f
commit f23f22d71c
199087 changed files with 3378941 additions and 0 deletions

View file

@ -0,0 +1,7 @@
void local fn MyFunction
print @"MyFunction"
end fn
fn MyFunction
HandleEvents

View file

@ -0,0 +1,7 @@
void local fn MyFunction( arg1 as long, arg2 as long, arg3 as long )
print @"MyFunction"
end fn
fn MyFunction( 1, 2, 3 )
HandleEvents

View file

@ -0,0 +1,16 @@
void local fn MyFunction( count as long, ... )
va_list ap
long i, value
va_start( ap, count )
for i = 1 to count
value = fn va_arglong( ap )
print value
next
va_end( ap )
end fn
fn MyFunction( 3, 12, 24, 36 )
HandleEvents

View file

@ -0,0 +1,6 @@
local fn MultiplyByThree( value as long ) as long
end fn = value * 3
print fn MultiplyByThree( 13 )
HandleEvents

View file

@ -0,0 +1,10 @@
void local fn MultiplyByThree( value as ^long )
*value *= 3
end fn
long num
num = 9
fn MultiplyByThree( @num )
print num
HandleEvents