<div dir="ltr">It is only a convention to better understand the code written by others, but also ours after some time.<br>I find it useful, for example, in the Properties:<br><br>Property sName As String<br>Private $sName As String<br><br>Private Function sName_Read() As String<br><br> Return $sName<br><br>End<br><br>Private Sub sName_Write(Value As String)<br><br> $sName = Value<br><br>End<br><div><br></div><div>Regards<br></div>Gianluigi<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-06-10 18:16 GMT+02:00 Mayost Sharon <span dir="ltr"><<a href="mailto:sharon@455.co.il" target="_blank">sharon@455.co.il</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you<br>
<br>
I did not understand<br>
<br>
Is it meaningful or is it just for good order<br>
<br>
---------- Original Message -----------<br>
From: Gianluigi <<a href="mailto:bagonergi@gmail.com">bagonergi@gmail.com</a>><br>
To: Gambas Mailing List <<a href="mailto:user@lists.gambas-basic.org">user@lists.gambas-basic.org</a>><br>
Sent: Sun, 10 Jun 2018 18:06:31 +0200<br>
Subject: Re: [Gambas-user] sign $<br>
<br>
> 2018-06-10 17:57 GMT+02:00 Mayost Sharon <<a href="mailto:sharon@455.co.il">sharon@455.co.il</a>>:<br>
> <br>
> > Hello to you<br>
> ><br>
> > I wanted to know<br>
> > When I declare variables I sometimes see:<br>
> > $ Sign<br>
> > And sometimes not<br>
> ><br>
> > For example, I took part of a section of gb.setting<br>
> ><br>
> > Export<br>
> > Create Static<br>
> ><br>
> > Class Window<br>
> > Class Desktop<br>
> > Class DesktopWindow<br>
> > Class Screens<br>
> ><br>
> > Static Property Read DefaultDir As String<br>
> ><br>
> > Static Private $ sStr As String<br>
> > Static Private $ iPos As Integer<br>
> ><br>
> > Property Read Keys As _Settings_Keys<br>
> > Property Read Path As String<br>
> ><br>
> > Private $ sPath As String<br>
> > Private $ sTitle As String<br>
> > Private $ cSlot As Collection<br>
> > Private $ bModify As Boolean<br>
> > Private $ bModifyAll As Boolean<br>
> > Private $ cModify As Collection<br>
> ><br>
> > And I see that there are functions with a $ sign<br>
> ><br>
> > For example:<br>
> > Format $<br>
> > or<br>
> > Format without a $ sign<br>
> ><br>
> > Thank you<br>
> ><br>
> ><br>
> You can see here [0]<br>
> <br>
> Gianluigi<br>
> <br>
> [0] <a href="http://gambaswiki.org/wiki/doc/namingconvention" rel="noreferrer" target="_blank">http://gambaswiki.org/wiki/<wbr>doc/namingconvention</a><br>
> <br>
> > ----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
> ><br>
------- End of Original Message -------<br>
<br>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div><br></div>