Variable declaration in a line

vecino

Well-Known Member
Licensed User
Longtime User
Hello, in other languages ​​I have the habit of doing something like this:
B4X:
Dim iVar1, iVar2, iVar3 as int
As with functions, procedures, etc..
B4X:
sub SumCalculate( iV1, iV2, iV3 as int) as int
   return (iV1 + iV2 + iV3)
end sub
Are "iVar1" and "iVar2" kind integer?

Thank you very much and greetings.
 
Top