Hi, afraid I'm having a slow day and seem unable to solve this.. I have an if statement that runs after a sub is called, the sub should return a string, how do I get it to run if the string is returned?
ConfigsRead being the returned statement, any helps greatly appreciated!
Cheers
Paddy
B4X:
Subs.ConfigCheck(20)
If Subs.ConfigCheck = "ConfigsRead" Then
Dim InconsistentDeviceParam As List
InconsistentDeviceParam = Subs.GetInconsistentDeviceParams
Subs.Logwstimed(InconsistentDeviceParam.Size & " Inconsistent Params Found")
If InconsistentDeviceParam.Size > 0 Then
For i = 0 To InconsistentDeviceParam.Size -1
Subs.UpdateDeviceParam(InconsistentDeviceParam.Get(i))
Next
End If
Subs.Store_Response(True)
End If
Cheers
Paddy