|
Post by aurel on May 5, 2024 8:03:12 GMT -6
new version of micro(A) I finally add functions parameters i'func test recursion in micro(A) by Aurel var y , x : mode 1: wcolor 0,0,0:fcolor 100,210,200 :swap print 10,45,"function recursive..." 'fn call... fnRecursive(5,3)
func fnRecursive(var a,var b ) var c c = a + b fcolor 80,80,100 :rect 10,65,108,24 'print current value... fcolor 100,210,100 : print 20,70,c: swap 'recursive call if c < 1000 fnRecursive(c,b) endif endfnnsert code here Attachments:![](//storage.proboards.com/6314556/thumbnailer/KgHOdOoLLMKNWYSmWlcn.png)
|
|
|
Post by aurel on May 5, 2024 8:03:41 GMT -6
|
|