• Subject: Re: text equation
  • From: dhandy@xxxxxxxxxxx (Douglas Handy)
  • Date: Tue, 21 Dec 1999 23:01:11 -0500

Jim,

>Now I only have one question.  How do I run a REXX procedure
>from the command line?

STRREXPRC (Start REXX Procedure)

Or make yourself a little command, EVAL or whatever, as a wrapper if
you really want command line access to an expression evaluator.

BTW, you can use more than just 4 function math.  You can also use %
for integer division, // for remainder (not quite the same as modulo
since the result can be negative), and ** for raising to a whole
number power.

Order of precedence is the usual algebraic sequence, which can of
course be overridden with parentheses.

Doug
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.