[Gambas-user] Typing in - help for own function

Rolf-Werner Eilert eilert-sprachen at ...221...
Mon Nov 16 17:41:48 CET 2015


Am 16.11.2015 17:31, schrieb Tobias Boege:
> On Mon, 16 Nov 2015, Tobias Boege wrote:
>>    '' Analyze a line.
>>    ''
>>    '' **Remember that the result is ByRef.**
>>    Public Function Analyze(sLine As String, hRes As AnalyzeResult) As Boolean
> Of course I would screw something up in this completely arbitrary example.
> For the comment to make sense the function's signature should be
>
>    Public Function Analyze(sLine As String, ByRef hRes As AnalyzeResult) As Boolean
>
> with a ByRef before hRes.
>

No problem, I got what I was looking for ;)

Rolf





More information about the User mailing list