Elan, here's Bo's latest response. Russell, [EMAIL PROTECTED] ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 22, 1999 11:10 AM Subject: RE: Re: RE: Re: [REBOL Helpdesk] assigned #1052 > > Russell, > > I am forwarding this to Erin, the guy who is doing most of the dictionary > work. > > Thanks! > > On 20-Oct-1999/15:52:30-7:00, [EMAIL PROTECTED] wrote: > >Return-Path: <[EMAIL PROTECTED]> > >Received: from septimius.mspring.net (septimius-z.mspring.net [207.69.193.30]) > > by brando.rebol.net (8.9.3/8.9.3) with ESMTP id PAA27257 > > for <[EMAIL PROTECTED]>; Wed, 20 Oct 1999 15:49:11 -0700 > >Received: (from root@localhost) > > by septimius.mspring.net (8.8.8/8.8.8) id SAA06291 > > for [EMAIL PROTECTED]; Wed, 20 Oct 1999 18:53:15 -0400 (EDT) > >Received: from mail.rdc1.az.home.com ([EMAIL PROTECTED] > > [24.1.240.66]) by septimius.mspring.net (8.8.8/8.8.8) with ESMTP id > > SAA15620 for <[EMAIL PROTECTED]>; Wed, 20 Oct 1999 18:53:13 -0400 (EDT) > >Received: from cx636303a ([24.1.230.71]) by mail.rdc1.az.home.com > > (InterMail v4.01.01.00 201-229-111) with SMTP id > > <19991020225312.JHDS12917.mail.rdc1.az.home.com@cx636303a> for > > <[EMAIL PROTECTED]>; Wed, 20 Oct 1999 15:53:12 -0700 > >Message-Id: <004101bf1b4d$ca5d3100$[EMAIL PROTECTED]> > >From: "Russ Yost" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >References: <[EMAIL PROTECTED]> > >Subject: Re: RE: Re: [REBOL Helpdesk] assigned #1052 > >Date: Wed, 20 Oct 1999 15:52:30 -0700 > >Mime-Version: 1.0 > >Content-Type: text/plain; charset="iso-8859-1" > >Content-Transfer-Encoding: 7bit > >X-Priority: 3 > >X-Msmail-Priority: Normal > >X-Mailer: Microsoft Outlook Express 5.00.2615.200 > >X-Mimeole: Produced By Microsoft MimeOLE V5.00.2615.200 > >Status: > > > >The parsing for '- must be pretty complex! Apparently, it first looks > >earlier to see if there's an argument available; if so, it subtracts a > >following argument from the preceding one. If not, it looks to see if an > >integer follows it with no space, if so it negates it. Then it looks to see > >if only one arg follows it, preceded by some space(s), if so it negates it. > >Then it looks to see if two args follow it, in which case it subtracts the > >second from the first. > > > >OK, I'll buy that, but IMHO, the Dictionary should "reveal" this behavior, > >not conceal it by considering only the case where two args follow. > > > >Russell, [EMAIL PROTECTED] > >----- Original Message ----- > >From: <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Wednesday, October 20, 1999 11:25 AM > >Subject: RE: RE: Re: [REBOL Helpdesk] assigned #1052 > > > > > >> > >> Russell, > >> > >> Here is what Carl wanted me to forward to you. And I've posted the > >results as well: > >> > >> >> probe [-5] > >> [-5] > >> == [-5] > >> >> probe [- 5] > >> [- 5] > >> == [- 5] > >> >> print type? first [-5] > >> integer > >> >> print type? first [- 5] > >> word > >> > >> So there you have it, straight from the horse's mouth. Out of curiosity, > >do you > >> agree or disagree? > >> -- > >> > >> On 19-Oct-1999/16:11:51-7:00, [EMAIL PROTECTED] wrote: > >> >It turns out there is a difference: > >> > > >> >probe [-5] > >> > > >> >probe [- 5] > >> > > >> >print type? first [-5] > >> > > >> >print type? first [- 5] > >> > > >> >-Carl > >> > > >> >At 10/19/99 02:59 PM -0700, you wrote: > >> >> > >> >>Russell, > >> >> > >> >>I am forwarding this to Carl and Jim (our head developer). Carl has > >final say > >> >>on how this works, but I think it is more likely a documentation error. > >I > >> >>have been surprised in the past, however! > >> >> > >> >>We'll see what they have to say. > >> >> > >> >>On 18-Oct-1999/21:39:25-7:00, [EMAIL PROTECTED] wrote: > >> >>>I guess your head developer doesn't care about a discrepancy between > >REBOL's > >> >>>'- and its definition in REBOL Dictionary for 2.1.0.3.1, eh? You are > >head > >> >>>of Qual Assurance, aren't you?! I don't think he read my bug report > >> >>>carefully. - 5 (note the space) should produce an error; IMHO. It > >> >>>shouldn't be a substitute for 'negate 5. -5 should accomplish the > >negate > >> >>>function. The User's Guide says there should be *no* space between the > >> >>>minus sign and the first digit. Another document blasted! Tsk Tsk!! > >> >>> > >> >>>Russell, [EMAIL PROTECTED] > >> >>>----- Original Message ----- > >> >>>From: <[EMAIL PROTECTED]> > >> >>>To: <[EMAIL PROTECTED]> > >> >>>Sent: Monday, October 18, 1999 5:09 PM > >> >>>Subject: RE: [REBOL Helpdesk] assigned #1052 > >> >>> > >> >>> > >> >>>> > >> >>>> Russell, > >> >>>> > >> >>>> Here is what our head developer said regarding this: > >> >>>> > >> >>>> "Not a bug - minus cannot work as both a unary and binary > >> >>>> prefix operator. Use 'subtract' instead if you need a binary prefix > >> >>>operator." > >> >>>> > >> >>>> Thanks for following up on this, however! > >> >>>> -- > >> >>>> > >> >>>> On 16-Oct-1999/8:40:02-8:00, [EMAIL PROTECTED] wrote: > >> >>>> >The REBOL Helpdesk has preprocessed this message. > >> >>>> > > >> >>>> ><lb>[BUG] '- is still inconsistent with Dictionary<rb> > >> >>>> >["Russell Yost" [EMAIL PROTECTED] 2.1.90.3.1 16-Oct-1999/8:29:24-7:00 > ><lb> > >> >>>> > > >> >>>> >'- is still inconsistent with Dictionary > >> >>>> >Here's a sequence from REBOL > >> >>>> >>> - 4 5 > >> >>>> >== 5 > >> >>>> >>> - 4 > >> >>>> >== -4 > >> >>>> >Apparently, to allow sloppy users to place a space between '- and an > >> >>>integer > >> >>>> >to create a negative number, REBOL is making '- inconsistent with > >its > >> >>>> ><rb>] > >> -- > >> Bohdan "Bo" Lechnowsky > >> Technical Support Coordinator > >> REBOL Technologies 707-467-8000 (http://www.rebol.com) > >> Download the REBOL Messaging Language for all Platforms > >> > >> > > > -- > Bohdan "Bo" Lechnowsky > Technical Support Coordinator > REBOL Technologies 707-467-8000 (http://www.rebol.com) > Download the REBOL Messaging Language for all Platforms >
