Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Intellisense Manager
Message
 
À
14/05/2004 15:52:34
Omar Bellio
Soluciones Informáticas
Buenos Aires, Argentine
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00904060
Message ID:
00904207
Vues:
18
Omar,

Check this out:
Create this file and save it.
* mysession.prg 
DEFINE CLASS mysessoin as Session 
	FUNCTION Hello && A user define function 
		MESSAGEBOX("Hello, world!")
	ENDFUNC && Hello
ENDDEFINE 
Then in a separate code window type the following:
PUBLIC loss as mysession OF mysession.prg 
loss.hello() && I see the user defined function Hello in the list
Dawa
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform