micro(A) progies

Started by Zlatko Vid, June 03, 2024, 10:41:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zlatko Vid

for testing..

'usr func test 3 /locals
mode 1 : wcolor 0,0,0 : fcolor 150,210,150
print 10,20,"usr func test_3 /locals in micro(A)" : swap

func mA(var res)
    var a,b,c
    a=20
    b=40
    c=a*b
    fcolor 250,210,150 : print 50,50,c : swap
endfn

'call fn mA()
mA()

Zlatko Vid

...elegant translation from me-myself-and-I  ;D