Hi (again),

Reading the manual, I saw that we can create object attrs using expose
inside the method, but you actually can create them using ::attribute. Is
that right? Any differences between them?

Like these examples:

/* first example */
::class Example

::method init
  expose sample
  sample = 0


/* second example */
::class Example

::attribute sample private

::method init
  self~sample = 0


It is not clear for me if expose lets "sample" attr become private,
protected or public.


thanks, global
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to