Post Reply 
Integer Division
03-06-2014, 11:44 AM
Post: #5
RE: Integer Division
(03-06-2014 10:31 AM)DrD Wrote:  I was hoping to find a SINGLE character that would implement integer division.

I miss the "\" operator for integer division too. I'm used to it from UBASIC, which also uses "@" for mod (integer remainder).

There is no single-character integer division operator in PPL. iquo(a,b) is your shortest option, unless you make a user-defined function with an even shorter name. UDF's cannot be infix operators, however, so you're stuck with prefix notation.

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Integer Division - DrD - 03-05-2014, 09:29 PM
RE: Integer Division - Mark Hardman - 03-05-2014, 10:39 PM
RE: Integer Division - Terje Vallestad - 03-05-2014, 10:40 PM
RE: Integer Division - DrD - 03-06-2014, 10:31 AM
RE: Integer Division - Joe Horn - 03-06-2014 11:44 AM



User(s) browsing this thread: 3 Guest(s)