I use this in my B4i code:
This gives error:
Stack Trace: (
"0 Dylius SignalHandler + 112",
"1 libsystem_platform.dylib 0x21df606f _sigtramp + 34",
"2 Dylius -[b4i_class_edithours _readinput:] + 742",
"3 Dylius -[b4i_page_edithours _page_edithours_resize::] + 830",
"4 CoreFoundation <redacted> + 68",
"5 CoreFoundation <redacted> + 292",
"6 Dylius +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1790",
"7 Dylius -[B4IShell runMethod:] + 588",
"8 Dylius -[B4IShell raiseEventImpl:method:args::] + 1908",
"9 Dylius -[B4IShellBI raiseEvent:event
arams:] + 1328"
)
However, if I change
into
then the error is gone.
Strange?
B4X:
If CheckBox_PrivateCar.Value Then
f.Value = "1"
Else
.Value = "0"
End If
This gives error:
Stack Trace: (
"0 Dylius SignalHandler + 112",
"1 libsystem_platform.dylib 0x21df606f _sigtramp + 34",
"2 Dylius -[b4i_class_edithours _readinput:] + 742",
"3 Dylius -[b4i_page_edithours _page_edithours_resize::] + 830",
"4 CoreFoundation <redacted> + 68",
"5 CoreFoundation <redacted> + 292",
"6 Dylius +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1790",
"7 Dylius -[B4IShell runMethod:] + 588",
"8 Dylius -[B4IShell raiseEventImpl:method:args::] + 1908",
"9 Dylius -[B4IShellBI raiseEvent:event
)
However, if I change
B4X:
If CheckBox_PrivateCar.Value Then
B4X:
If CheckBox_PrivateCar.Value = True Then
Strange?