[Gambas-user] Const
Gianluigi
gradobag at gradobag.it
Thu Feb 22 22:41:02 CET 2024
Il 22/02/24 19:11, T Lee Davidson ha scritto:
> On 2/22/24 09:56, Philippe Valarcher wrote:
>> Bonjour,
>> le mot réservé Const ne semble plus fonctionnel dans 3.19
>>
>> --
>>
>> Philippe Valarcher <philippe.valarcher at free.fr
>> <mailto:philippe.valarcher at free.fr>>
>
> Translated:
> "Hello,
> the Const reserved word no longer seems to work in 3.19"
>
> It seems to work here with v3.19.0. What exactly do you mean by
> "doesn't work"?
>
> And, please use English when you post to the list.
>
>
> --
> Lee
>
Hi Philippe,
it was reported here:
https://gambaswiki.org/bugtracker/edit?object=BUG.2865&from=L21haW4.dGFiPTEmdXBkYXRlPS5tZW51JnNjcm9sbD0w
and Benoit fixed it.
In the latest Master and Stable this code works:
Public Sub Main()
Dim aStr As String[] = ["Donald.Pluto", "Donald-Pluto", "Donald Pluto"]
For Each s As String In aStr
Print Scan(s, "*{.,-, }*")[0]
Next
End
Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20240222/dbab9c00/attachment-0001.htm>
More information about the User
mailing list