Let's say I have a class with a resumable sub that takes an argument:
I call that class from somewhere else, but don't provide the argument:
Gives this error:
Strangely enough, this only seems to be relevant if you have a resumable sub. If I have a vanilla example, no error message at all is shown:
...and...
...produce no error message at all.
B4X:
Sub spawn_universe (seed As String) As ResumableSub
I call that class from somewhere else, but don't provide the argument:
B4X:
wait For (CL_DELUSION.spawn_universe) complete (universe As Map)
Gives this error:
B4X:
Undeclared variable 'complete'. (Warning #8)
Strangely enough, this only seems to be relevant if you have a resumable sub. If I have a vanilla example, no error message at all is shown:
B4X:
Dim dog As Long = CL_ANIMALS.wiener_dog
B4X:
Sub wiener_dog (length As Int) As Long