User Activity

  • Posted a comment on discussion Help on ooRexx (Open Object Rexx)

    Good suggestion makes it less messy as you mentioned, thanks again. Ruurd

  • Posted a comment on discussion Help on ooRexx (Open Object Rexx)

    Thanks Rick. Now in order to keep processing the rest of the methods I can think only of this: #!/usr/bin/env rexx signal on any name syntax rexxInfoInstance = .RexxInfo rexxInfoInstanceMethods = rexxInfoInstance~class~methods(rexxInfoInstance~class)~allindexes~sort i = 1 -- i initially 1, after possible signal will be set by the syntax signal processing again: do m=i to rexxInfoInstanceMethods~items method = rexxInfoInstanceMethods[m] say ".RexxInfo instance method" method ":" rexxInfoInstance~send(method)...

  • Modified a comment on discussion Help on ooRexx (Open Object Rexx)

    I was trying to make a demo of displaying the results of invoking all .RexxInfo methods with the l following code: tryRexxInfo.rex #!/usr/bin/env rexx rexxInfoInstance = .RexxInfo rexxInfoInstanceMethods = rexxInfoInstance~class~methods(rexxInfoInstance~class)~allindexes~sort say rexxInfoInstanceMethods do method over rexxInfoInstanceMethods say ".RexxInfo instance method" method":" rexxInfoInstance~send(method) end yielding the following result on the console: ruurd@Paradigit2:~/Rexx$ rexx tryRexxInfo.rex...

  • Posted a comment on discussion Help on ooRexx (Open Object Rexx)

    I was trying to make a demo of displaying the results of invoking all .RexxInfo methods with the l following code: tryRexxInfo.rex #!/usr/bin/env rexx rexxInfoInstance = .RexxInfo rexxInfoInstanceMethods = rexxInfoInstance~class~methods(rexxInfoInstance~class)~allindexes~sort say rexxInfoInstanceMethods do method over rexxInfoInstanceMethods say ".RexxInfo instance method" method":" rexxInfoInstance~send(method) end yielding the following result on the console: ruurd@Paradigit2:~/Rexx$ rexx tryRexxInfo.rex...

  • Modified a comment on ticket #2034 on ooRexx (Open Object Rexx)

    Hi again, Thus if one wants to override an superclass INIT, one must define a class NEW method, is that what you are saying? That is not true for (I think all) other collections with an optional SIZE argument? Seems to me that the way a multidimensional Array can be defined causes the problem and it could be solved by allowing arguments after a not defined first argument (which would create a 1 dimensional array) and pass them on to the subclass INIT. HTH (a little joke here) Ruurd P.S. For multidimension...

  • Posted a comment on ticket #2034 on ooRexx (Open Object Rexx)

    Hi again, Thus if one wants to override an superclass INIT, one must define a class NEW method, is that what you are saying? That is not true for (I think all) other collections with an optional SIZE argument? Seems to me that the way a multidimensional Array can be defined causes the problem and it could be solved by allowing arguments after a not defined first argument (which would create a 1 dimensional array) and pass them on to the subclass INIT. HTH (a little joke here) Ruurd On 11/5/25 11:58,...

  • Posted a comment on ticket #2034 on ooRexx (Open Object Rexx)

    Hi Rony, So how does what you say about NEW agree with: rexxref: 4.2.5 Default search order for methods This search order places methods of a class before methods of its superclasses so that a class can supplement or override inherited methods. and rexxref: 4.2.9. Initialization Any object requiring initialization at creation time must define an INIT method. If this method is defined, the class object runs the INIT method after the object is created. If an object has more than one INIT method (for...

  • Posted a comment on ticket #2034 on ooRexx (Open Object Rexx)

    Ok, thanks for your investigation, I'll wait and see. Ruurd On 10/31/25 10:06, jfaucher wrote: So I still think it should be fixed or the docs should be made more specific. I agree but I can't tell what is the preference of the ooRexx team. In the meantime, this code will work: |::classtypedArraypublicsubclassArray ::attributetype ::methodnewclass say"Method 'new'' for typedArray instance" usestrictargtype if"RTW"~pos(type[1]~upper)==0 thenraisesyntax93.914array(1,"R(ony),T(im),W(ill)",type) / superclass...

View All

Personal Data

Username:
idenburg
Joined:
2007-07-17 17:38:52
Location:
Amstelveen / Netherlands / CET
Gender:
Male

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB