The dual % operator vs. the postfix % operator ....

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The dual % operator vs. the postfix % operator ....

ThSITC
But, nevertheless, we possibly can define so called POSTFIX Operators,
as we already do have PREFIX Operators (as +, or -).

This shall and should allow us all, to say:

x = abc % def      --- does mean INTEGER DIVISION (as % is used as a
DUAL Operator)

*********
* BUT
********
y = abc - 10 %    -- when used as a POSTFIX operator, % does become
*PERCENT*

Just a proposal for a compromise, as far as I'm involved !!!

Hi there, Netrexx board, any objections ???

Crazy Uncle Thomas ;-)

Waiting for my Punishements, of course! :-)
=================================================
--
Thomas Schneider CEO ThSITC IT Consulting KG Erdbergstr. 52-60/1/13 1030
Wien http://www.thsitc.com Austria, Europe Skype ID:
Thomas.Schneider.Wien Member of the Rexx Languge Asscociation
(www.rexxla.org) Member of the NetRexx Developer's Team (www.netrexx.org)

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com