Menu

#316 5.1.4.12. instanceMethods outdated

5.1.0
closed
Erich
None
1
2025-05-02
2024-03-27
No

"Example 5.31. Object class — instanceMethods method" includes

say .String~instanceMethods(.String)~allIndexes --> CR,NEW,NL,NULL,TAB

This was OK before the 5.0.0 release. Now it should be something like ALPHA, ALNUM, BLANK, CNTRL, CR, DIGIT, GRAPH, LOWER, NEW, NL, NULL, PUNCT, PRINT, SPACE, TAB, UPPER, XDIGIT, or an equivalent explanation.

Related

Documentation Bugs: #316

Discussion

  • Gil Barmwater

    Gil Barmwater - 2024-03-28

    I suggest the example be modified to:
    say .String~instanceMethods(.String)~allIndexes~sort~toString(,',')
    which gives (on my system):
    ALNUM,ALPHA,BLANK,CNTRL,CR,DIGIT,GRAPH,LOWER,NEW,NL,NULL,PRINT,PUNCT,SPACE,TAB,UPPER,XDIGIT

     
  • Josep Maria Blasco

    That's excellent. I would replace "," with ", ". On my system, it gives ALNUM, ALPHA, BLANK, CNTRL, CR, DIGIT, GRAPH, LOWER, NEW, NL, NULL, PRINT, PUNCT, SPACE, TAB, UPPER, XDIGIT (we are in agreement, as it seems :)).

     
    • Anonymous

      Anonymous - 2024-03-30

      How about a patch and commit? (Gil, aren‘t you a committer? BTW. Your updated tools for creating the documentation has been working just great, kudos!)

      —-rony

      Rony G. Flatscher (mobil/e)

      Am 28.03.2024 um 22:25 schrieb Josep Maria Blasco jmblasc2@users.sourceforge.net:

      That's excellent. I would replace "," with ", ". On my system, it gives ALNUM, ALPHA, BLANK, CNTRL, CR, DIGIT, GRAPH, LOWER, NEW, NL, NULL, PRINT, PUNCT, SPACE, TAB, UPPER, XDIGIT (we are in agreement, as it seems :)).


      [documentation:#316] 5.1.4.12. instanceMethods outdated

      Status: open
      Group: 5.1.0
      Created: Wed Mar 27, 2024 01:32 PM UTC by Josep Maria Blasco
      Last Updated: Thu Mar 28, 2024 06:52 PM UTC
      Owner: nobody

      "Example 5.31. Object class — instanceMethods method" includes

      ~~~
      say .String~instanceMethods(.String)~allIndexes --> CR,NEW,NL,NULL,TAB
      ~~~

      This was OK before the 5.0.0 release. Now it should be something like ALPHA, ALNUM, BLANK, CNTRL, CR, DIGIT, GRAPH, LOWER, NEW, NL, NULL, PUNCT, PRINT, SPACE, TAB, UPPER, XDIGIT, or an equivalent explanation.


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/oorexx/documentation/316/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Documentation Bugs: #316

  • Josep Maria Blasco

    Tentative patch. Not completely satisfied, as output occupies two lines. Don't see how to fix it, tho.

     
  • Erich

    Erich - 2024-08-16
    • status: open --> pending
    • assigned_to: Erich
     
  • Erich

    Erich - 2024-08-16

    changes committed with revision [r12863]

     

    Related

    Commit: [r12863]

  • Rony G. Flatscher

    • Status: pending --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.