https://foro.gambas-es.org/viewtopic.php?f=1&t=4065&p=22915#p22915
-----------------------------------
vuott
Miercoles, 27 Agosto 2014, 00:44

Re: Dim DDate As Date = Date({Date})  Variables Entre Llaves?
-----------------------------------
Las { } permiten tambien utilizar, como identificadores de variables, nombres de otra manera no-utilizables.

Por ejemplo:
[code linenumbers=false syntax=gambas]Public Sub Main()

  Dim Dim, {Read}, {Print} As Integer
  Dim Sub As String
  Dim { } As Single


    {Read} = 10000
    
    {Dim} = 1234
    
    {Print} = 1

    { } = 1.2
    
    {Sub} = "Et nunc, iste tibi est."
    
    Print {Read}, {Dim}, {Print}, { }
    Print {Sub} 

End[/code]


