If you are serious that you want an example in the manual you should look
at Chapter 5 and 5.1 in the rexx programming guide (rexxpg.pdf) where there
is an example of a class and object and the difference between class and
instance methods.  It uses the array class as an example, but the principle
is the same throughout and applies to the datetime class.

My experience was that once I got used to it and let go of some
preconceptions, it made sense and was not hard to understand.

Hope that helps

Jon

On Wed, 20 Nov 2024 at 21:52, J Leslie Turriff via Oorexx-users <
oorexx-users@lists.sourceforge.net> wrote:

>         Hm.  Strange to me, a mainframe Rexx user, though.  An example in
> the manual
> would be helpful.
>
>         Thanks.
> Leslie
>
> On Wednesday 20 November 2024 09:53:24 Rick McGuire wrote:
> > Not strange at all. isoDate is an instance method, but you are sending it
> > to the class object. Try  ".DateTime~new~isodate".
> >
> > Rick
> >
> > On Wed, Nov 20, 2024 at 10:48 AM J Leslie Turriff via Oorexx-users <
> >
> > oorexx-users@lists.sourceforge.net> wrote:
> > >         This is strange:
> > > |● upd-alt list java
> > > |   259 *-*               logStream ~ lineOut(' '.DateTime ~ isoDate'
> ' ~
> > >
> > > center(80,'='))
> > >
> > > |     33 *-* call ProcessRequest
> > > | Error 97 running /usr/local/sbin/upd-alt line 259:  Object method not
> > >
> > > found.
> > >
> > > | Error 97.1:  Object "The DateTime class" does not understand
> > >
> > > message "ISODATE".
> > >
> > > | rc=159
> > >
> > > Leslie
> > > --
> > > Platform: Linux
> > > Distribution: openSUSE Leap 15.6 - x86_64
> > > Open Object Rexx Version 5.0.0 r12583
> > > Build date: Dec 23 2022
> > > Addressing mode: 64
> > >
> > >
> > > _______________________________________________
> > > Oorexx-users mailing list
> > > Oorexx-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
>
>
> _______________________________________________
> Oorexx-users mailing list
> Oorexx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to