I finally found want i search, so the flags were not useful !

i just wanted to know, in a method, if i already pass through the previous 
method.

I just have to transport an additional information.


thank you for your answer, they help me in finding the solution :)


Thibault


________________________________
De : Pharo-users <pharo-users-boun...@lists.pharo.org> de la part de 
p...@highoctane.be <p...@highoctane.be>
Envoyé : mercredi 6 avril 2016 15:35
À : Any question about pharo is welcome
Objet : Re: [Pharo-users] flags in pharo


On Wed, Apr 6, 2016 at 2:47 PM, Blondeau Vincent 
<vincent.blond...@worldline.com<mailto:vincent.blond...@worldline.com>> wrote:
No, it is just a marker for the method.

If you want to do what you asked, put a halt (self halt), or, a trace (self 
crLog: 'amessage') and open the Transcript.

You may want to investigate MethodWrappers: 
http://scg.unibe.ch/wiki/faq/pharo/howToLoadMethodWrappers

https://chicoary.wordpress.com/2012/11/15/method-wrapper-in-pharosmalltalk/

http://www.smalltalkhub.com/#!/~philippeback/ObjectsAsMethodsWrap

This for sure will help in achieving what you want.

HTH
Phil


Vincent

De : Pharo-users 
[mailto:pharo-users-boun...@lists.pharo.org<mailto:pharo-users-boun...@lists.pharo.org>]
 De la part de Thibault ARLOING
Envoyé : mercredi 6 avril 2016 14:44
À : Any question about pharo is welcome
Objet : Re: [Pharo-users] flags in pharo


Ok, but i understand that it can't be use to know if we already pass through a 
method ?



Thibault

________________________________
De : Pharo-users 
<pharo-users-boun...@lists.pharo.org<mailto:pharo-users-boun...@lists.pharo.org>>
 de la part de Marcus Denker 
<marcus.den...@inria.fr<mailto:marcus.den...@inria.fr>>
Envoyé : mercredi 6 avril 2016 14:25
À : Any question about pharo is welcome
Objet : Re: [Pharo-users] flags in pharo

Hi,

the convention is to put something like

self flag: #TODO.

in the code, then you can search for senders of #TODO and get a list of all 
things you wanted to fix.

Marcus


On 06 Apr 2016, at 14:17, Damien Pollet 
<damien.pollet+ph...@gmail.com<mailto:damien.pollet+ph...@gmail.com>> wrote:

It's just an empty method doing nothing.

Then, as it says in the comment, you can use the tools to look for it. Nautilus 
knows to check for it and display a nice icon in the method list.

On 6 April 2016 at 13:54, Thibault ARLOING 
<thibault.arlo...@hotmail.fr<mailto:thibault.arlo...@hotmail.fr>> wrote:
Hi,

Can someone explain me how ProtoObject>>flag: works in pharo please ?

thx,

Thibault Arloing



!!!*************************************************************************************
"Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité de Worldline ne pourra être 
recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
soient faits pour maintenir cette transmission exempte de tout virus, 
l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Worldline liability cannot be triggered for the 
message content. Although the sender endeavours to maintain a computer 
virus-free network, the sender does not warrant that this transmission is 
virus-free and will not be liable for any damages resulting from any virus 
transmitted.!!!"

Reply via email to