[Gambas-user] File Format Help

bb adamnt42 at gmail.com
Thu Jun 17 20:25:11 CEST 2021


On Thu, 2021-06-17 at 20:18 +0200, Christof Thalhofer wrote:
> Am 17.06.21 um 20:09 schrieb Christof Thalhofer:
> 
> > Public Function Get() As String
> > 
> >     Return fromUserName & gb.lf & toUserName '... and so on
> > 
> > End
> 
> Does not work, this is correct:
> 
> ----------------------------------------------------------------
> 
> Public Function Get() As String
> 
>     Return Me.fromUserName & gb.lf & Me.toUserName '... and so on
> 
> End
> 

Return $fromUserName & gb.lf & $toUserName '... and so on

Surely if you define state variables then you may as well use them.

b



More information about the User mailing list