12-18-2022, 09:33 AM
(12-17-2022, 08:54 PM)Kernelpanic Wrote: I think I know the reason now - the extra type declaration is only necessary for strings.
(Enter -Hello-, I will complete the sentence)
Code: (Select All)Option _Explicit
Declare Function satzErgaenzen(satz As String) As String
Dim As String eingabe
Input "Geben Sie -Hallo- ein, ich ergaenze den Satz: ", eingabe
Print satzErgaenzen(eingabe)
End
Function satzErgaenzen$ (satz As String)
satz = satz + " Fans von QB64!"
satzErgaenzen = satz
End Function
> I think I know the reason now - the extra type declaration is only necessary for strings.
Yes, that's correct.
Well, at least Steve's chat program has found a good use... chatting at the forum about coding functions!