Sandman Expert Licensed User Longtime User Aug 17, 2017 #1 Let's say I have a class with a resumable sub that takes an argument: Code: Copy Sub spawn_universe (seed As String) As ResumableSub I call that class from somewhere else, but don't provide the argument: Code: Copy wait For (CL_DELUSION.spawn_universe) complete (universe As Map) Gives this error: Code: Copy 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: Code: Copy Dim dog As Long = CL_ANIMALS.wiener_dog ...and... Code: Copy Sub wiener_dog (length As Int) As Long ...produce no error message at all.
Let's say I have a class with a resumable sub that takes an argument: Code: Copy Sub spawn_universe (seed As String) As ResumableSub I call that class from somewhere else, but don't provide the argument: Code: Copy wait For (CL_DELUSION.spawn_universe) complete (universe As Map) Gives this error: Code: Copy 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: Code: Copy Dim dog As Long = CL_ANIMALS.wiener_dog ...and... Code: Copy Sub wiener_dog (length As Int) As Long ...produce no error message at all.