Hi everyone,
I would like to ask something which is not obvious to me.
if we add the following code in a Activity_KeyPress event,
It shows a curly red line of an error in the editor and if I put my mouse on it, I get:
"Resumables Subs return type must be resumable sub"
How is it possible to overcome this?
Thanks in advance.
I would like to ask something which is not obvious to me.
if we add the following code in a Activity_KeyPress event,
B4X:
If KeyCode = KeyCodes.KEYCODE_BACK Then
If bHasToSave = True Then
wait for(AskToSave) Complete (Result As Int)
End If
End If
It shows a curly red line of an error in the editor and if I put my mouse on it, I get:
"Resumables Subs return type must be resumable sub"
How is it possible to overcome this?
Thanks in advance.