Descriptions:
Converts a Boolean to an Int or vice-versa
Return value: Object: Int(0 or 1) if Value is a Boolean - Boolean(False or True) if Value is an Int
Code:
Public Sub BooleanConv(Value As Object) As Object
Dim Result As Object = 0
If GetType(Value) = "java.lang.Integer" Then
Dim b As Boolean = (Value...
BooleanConv
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2ah5KEW
via IFTTT
Aucun commentaire:
Enregistrer un commentaire