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
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?
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
the upper() and lower() primitives have the same functionality.
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:
Related
Tickets:
#24See: block_upper_case() and block_lower_case(), also available via the features menu.
Alt-F: features menu.