Quantcast

[Gambas Bug Tracker] Bug #1085: Saving time and work

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Gambas Bug Tracker] Bug #1085: Saving time and work

bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1085&from=L21haW4-

Víctor PEREZ reported a new bug.

Summary
-------

Saving time and work

Type             : Request
Priority         : Low
Gambas version   : 3.9
Product          : Unknown


Description
-----------

When you create a property in a class and enter
Gambas3 writes this:
1------------------------------------------------- -
Property Name As String

Private Function Name_Read () As String

End

Private Sub Name_Write (Value As String)

End
1----------------------------

It would not be better if I wrote this:

2------------------------------------------------- -
Property Name As String

Private $ Name As String

Private Function Name_Read () As String

   Return $ Name

End

Private Sub Name_Write (Value As String)

   $ Name = Value

End
2------------------------------------------------- ----

I would save a lot of time

Greetings.


System information
------------------

Gambas=3.9.2
OperatingSystem=Linux
Kernel=3.19.0-32-generic
Architecture=x86
Distribution=Linux Mint 17.3 Rosa
Desktop=MATE
Theme=Gtk
Language=es_UY.UTF-8
Memory=1950M

[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+2=libgtk-x11-2.0.so.0.2400.23
GTK+3=libgtk-3.so.0.1000.8
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
QT4=libQtCore.so.4.8.6
QT5=libQt5Core.so.5.2.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Gambas Bug Tracker] Bug #1085: Saving time and work

bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1085&from=L21haW4-

Comment #1 by Benoît MINISINI:

It is useful only if your property is stored in a private variable, which is not always the case. So it cannot be the default.
I will think about a solution...

Benoît MINISINI changed the state of the bug to: Accepted.



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Loading...