Xref: utzoo comp.arch:21172 comp.lang.misc:6743 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.arch,comp.lang.misc Subject: Re: standard extensions to programming languages Message-ID: <.LR9UA4@xds13.ferranti.com> Date: 27 Feb 91 15:09:44 GMT References: <3381.27c548c3@iccgcc.decnet.ab.com> <1991Feb25.135057.23667@linus.mitre.org> <1991Feb25.201406.18643@bingvaxu.cc.binghamton.edu> <3439.27ca4e40@iccgcc.decnet.ab.com> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Followup-To: comp.lang.misc Organization: Xenix Support, FICC Lines: 16 In article <3439.27ca4e40@iccgcc.decnet.ab.com> herrickd@iccgcc.decnet.ab.com (daniel lance herrick) writes: > when what I want is > (q, r) = dividend divided by divisor Than you need a different programming language. Wasn't there a stack oriented language called "POP-2" or something that would allow this with this sort of syntax? Or you could always use Forth: dividend divisor /MOD q ! r ! (I may have got the order of the results mixed up) (followups to comp.lang.misc) -- Peter da Silva. `-_-' peter@ferranti.com +1 713 274 5180. 'U` "Have you hugged your wolf today?"