Reworked macro expr.s (currently named exprReworked.s)

8 views
Skip to first unread message

Eckhard Hillmann

unread,
Mar 3, 2023, 11:28:57 AM3/3/23
to sem...@googlegroups.com
FYI:

Hello,

I changed, added and modified some stuff in the expr.s macro.

In short:
- Reworked the code

- Added >>, shr, <<, shl, mod, div, not, pow
(Except pow the keywords were already build in but not accessible)

- Added copy to Winclip
(to the Alt P - Menu)

- Added new hex input using prefix $ ($ff) Motorola style

- Changed error-handling
(don't terminate the macro on error, show message)

- Updated help (Operator list)

I don't want to interfere with the existing macro, so this one is named
exprReworked.s and attached to this mail.

If Semware reads this and agrees after checking the reworked macro this one might
be renamed and replace the exiting expr.s macro. This decision is entirely up
to Semware.

--
Best regards
Eckhard Hillmann mailto:or...@ewetel.net
exprReworked.s

S.E. Mitchell

unread,
Mar 4, 2023, 6:41:31 AM3/4/23
to sem...@googlegroups.com
Very nice!
Thanks for the updates!
I'll replace the old version with this one.
--
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to semware+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/semware/11710675791.20230303172854%40ewetel.net.

Eckhard Hillmann

unread,
Mar 15, 2023, 6:18:14 AM3/15/23
to S.E. Mitchell
Hello,

sorry for the late reply, glad you liked it!

In the reworked version I forgot to add the keywords for some of the existing operators.
I added these in this attached version expr_Update.s.

What has changed since last update:
- Added keywords comp, xor, and, or
- Insert Formatted Decimal result (Alt P - Menu)
- Updated help (F1)

If you want, after checking this updated macro, you can replace the former one with this.

--
Best regards
Eckhard Hillmann mailto:or...@ewetel.net


Ihre Nachricht vom Samstag, 4. März 2023 12:41:

SEM> Very nice!
SEM> Thanks for the updates!
SEM> I'll replace the old version with this one.
SEM> --
expr_Update.s
Reply all
Reply to author
Forward
0 new messages