Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
18
Task/Repeat/FutureBasic/repeat.basic
Normal file
18
Task/Repeat/FutureBasic/repeat.basic
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
include "NSLog.incl"
|
||||
|
||||
void local fn Example( value as long )
|
||||
NSLog(@"Example %ld",value)
|
||||
end fn
|
||||
|
||||
void local fn DoIt( fnAddress as ptr, count as long )
|
||||
def fn Repeat( j as long ) using fnAddress
|
||||
|
||||
long i
|
||||
for i = 1 to count
|
||||
fn Repeat( i )
|
||||
next
|
||||
end fn
|
||||
|
||||
fn DoIt( @fn Example, 3 )
|
||||
|
||||
HandleEvents
|
||||
Loading…
Add table
Add a link
Reference in a new issue