Menu

#24 "tolower" and "toupper" macros

1.0
closed
nobody
None
2022-07-10
2021-05-08
Nick Green
No

Original Brief has 2 macros I use a lot, namely tolower and toupper. They change the case of all characters, A-Z to a-z or visa versa, for all characters in the selected (marked) area. Can those be supplied as well in Grief?
Thanks,
ngreen4539

Related

Tickets: #24

Discussion

  • adamy

    adamy - 2021-05-09

    the upper() and lower() primitives have the same functionality.

     
    • Nick Green

      Nick Green - 2021-05-09

      I'm sorry, I don't know how to invoke primitives. Macros I can invoke by
      name using F10. When I try "F10 upper", it complains "parameter(s)
      missing". When I try "F10 upper("ghi")", it complains undefined. In the
      .pdf manual, there is a lot of listing of primitives but I don't find how
      to use them.

      With the original macro toupper in Brief, I first highlight the text in the
      buffer (with Alt-M or Alt-C), then hit F10 and type "toupper". Then
      alphabetics in the highlighted region are replaced with upper case. I
      presume the "lower" primitive does something similar with given strings.
      How do I get it applied to the buffer on which I am working?

      Thanks,
      ngreen4539

      On Sun, May 9, 2021 at 8:12 AM adamy adamy@users.sourceforge.net wrote:

      the upper() and lower() primitives have the same functionality.

      Status: open
      Milestone: 1.0
      Created: Sat May 08, 2021 03:30 PM UTC by Nick Green
      Last Updated: Sat May 08, 2021 03:30 PM UTC
      Owner: nobody

      Original Brief has 2 macros I use a lot, namely tolower and toupper. They
      change the case of all characters, A-Z to a-z or visa versa, for all
      characters in the selected (marked) area. Can those be supplied as well in
      Grief?
      Thanks,
      ngreen4539


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/grief/tickets/24/

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

       

      Related

      Tickets: #24

  • adamy

    adamy - 2022-07-10
    • status: open --> closed
     
  • adamy

    adamy - 2022-07-10

    See: block_upper_case() and block_lower_case(), also available via the features menu.
    Alt-F: features menu.

     

Log in to post a comment.

MongoDB Logo MongoDB