04-11-2023, 05:09 PM
Petr, I get the impression that you didn't try my suggestion
Code: (Select All)
Declare Library "plus"
Function calc_plus% (byval a As Integer, byval b As Integer)
End Declare
c% = calc_plus(5, 6)
Print c%
Code: (Select All)
short calc_plus (short a, short b)
{
short c = a + b;
return c;
}