Wish ALT + F strange formats

Lello1964

Well-Known Member
Licensed User
Longtime User
I have this code :

B4X:
Sub test1
    Dim a,b,c As Int
    Dim flg1, flg2 As Boolean

    a = 10
    b = 20

    flg2 = True

    If flg1 Then : a = 45 : b = 40 : flg1 = True  : End If
    If flg2 Then : a = 34 : b = 55 : flg2 = False : End If
    
End Sub

if i try to formats with ALT + F, i have this :

B4X:
Sub test1
    Dim a,b,c As Int
    Dim flg1, flg2 As Boolean

    a = 10
    b = 20

    flg2 = True

    If flg1 Then : a = 45 : b = 40 : flg1 = True  : End If
        If flg2 Then : a = 34 : b = 55 : flg2 = False : End If
            
        End Sub

It' s a formatter error ?
 

Lello1964

Well-Known Member
Licensed User
Longtime User
I remember some decades ago I programed on a Apple IIe in Applesoft BASIC
😄
 
Top