Hi friends.
A few days ago, I reread a document that talked about the Class(Y) and for this reason I decided to write this post.
I'm not a guru (these days MrDuck is trying to open my mind to the secrets of HbQt, but he spend a lot of energy with me ), I just want share my experience with everyone: with beginners to start and with others to give (I hope) an idea.
From Class(Y) documents:
"What is an Object?
One of the fundamental reasons that object orientation is enjoying such success as a programming paradigm is very simple: the real world is made up of objects....
Classes, Instances and Instance Variables...
A class can be thought of as a template, or specification, for creating an object...
To look at it another way, we can define an object as an instance of a class...", etc. etc.
For a lot of time I use PUBLIC array and FUNCTION to store and retrieve informations to use inside projects, but for a long time, I had the desire to use a syntax like this "LOCAL VarName := PublicVarName:othervar:something".
Some times ago, I rewrite my library and I used object and class.
This (for me) it was a good idea, because I could not avoid some annoying problems during testing of the HMG4 library and I think will help me when I will convert programs.
That's all folk. I leave you to read my source code: it's a derived version of my job. Work fine with HMG3 and HMG4 (the latest example is the goal I wanted to reach). Enjoy with this idea.
Cheers
class object simple use
Moderator: Rathinagiri
class object simple use
- Attachments
-
- basep000.zip
- (2.42 KiB) Downloaded 552 times
Luigi from Italy
www.L3W.it
www.L3W.it
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: class object simple use
Hola Luigi:
para abrir su mente le suguiero Smatlltalk o su derivado libre Squeak.
saludos
PD: Small Talk = Todo es un Objeto
Translate Google
apri la tua mente di proporre un pacchetto o un suo derivato Squeak Smatlltalk libero.
Saluti
PD: Small Talk = Tutto è un oggetto
DaNiElMaXiMiLiAnO
para abrir su mente le suguiero Smatlltalk o su derivado libre Squeak.
saludos
PD: Small Talk = Todo es un Objeto
Translate Google
apri la tua mente di proporre un pacchetto o un suo derivato Squeak Smatlltalk libero.
Saluti
PD: Small Talk = Tutto è un oggetto
DaNiElMaXiMiLiAnO
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Re: class object simple use
Ciao DanielMaximiliano,
muy interesante tu propuesta! Muchas gracias.
El problema es que mi mente empezó a rechazar el mundo virtual
Saludos
muy interesante tu propuesta! Muchas gracias.
El problema es que mi mente empezó a rechazar el mundo virtual
Saludos
Luigi from Italy
www.L3W.it
www.L3W.it