newbie style question regarding constants

Ragnar Hojland Espinosa ragnar at linalco.com
Thu Nov 13 17:28:13 UTC 2003


I have a method sort of like:

   Connection>>login: aUsername credential: aCredential authMethod: anAuthMethod
   "stuff here"
   
and 

   AuthMethod class>>METHODSIMPLE
   ^ 16rFFFF
   
so I do a

   conn login: 'me' credential: '' authMethod: (AuthMethod: METHODSIMPLE).

but I was wondering on whether there's a nicer way to store and
retrieve the authMethod constants.

-- 
Ragnar Hojland - Project Manager
Linalco "Specialists in Linux and Free Software"
http://www.linalco.com  Tel: +34-91-4561700



More information about the Squeak-dev mailing list