Now we have to go a detour over ADDRESS to pass structs:
DECLARE STRUCT Bar abc
SUB foo(ADDRESS barAddr)
DECLARE STRUCT *bar
bar = barAddr
END SUB
The new addition should allow passing structs directly:
DECLARE STRUCT Bar abc
SUB foo(Bar bar)
END SUB
But this will just be syntactic sugar over the ADDRESS detour.
Full typed METHODs with CLASSes comes next.
Now we have to go a detour over ADDRESS to pass structs:
The new addition should allow passing structs directly:
But this will just be syntactic sugar over the ADDRESS detour.
Full typed METHODs with CLASSes comes next.