The same is true for '10001010'b .. a change that unexpectedly broke some
important applications when we introduced it (e.g., LISTSERV).
 
I'd use a different notation, nowadays, for hex and binary constants (see
NetRexx).  Sometimes I tried too much to follow the conventions of earlier
languages.
 
Given, the notation, however, I think the precedence is correct .. consider
a program full of hex strings then someone makes a quick change at the top
of the program and adds a variable called 'x' ...
 
Mike
 
 
 
 
 


  _____  

From: Rick McGuire [mailto:object.r...@gmail.com] 
Sent: 28 July 2020 19:03
To: Open Object Rexx Developer Mailing List
Subject: Re: [Oorexx-devel] A question


Yes, a literal string followed immediately by the symbol x is considered a
hex literal. It's always been that way.  

Rick

On Tue, Jul 28, 2020 at 1:54 PM Ruurd Idenburg <ru...@idenburg.net> wrote:


Is the result below what should be expected: 'something'x taking 
precedent over implied concatenation?

Ruurd

'rexx -v'
Open Object Rexx Version 5.0.0 r12100
Build date: Jul 21 2020
Addressing mode: 64
Copyright (c) 1995, 2004 IBM Corporation. All rights reserved.
Copyright (c) 2005-2020 Rexx Language Association. All rights reserved.
This program and the accompanying materials are made available under the 
terms
of the Common Public License v1.0 which accompanies this distribution or at
http://www.oorexx.org/license.html
   rc = 0 ........................................ rexxtry.rex on LINUX
zoom=12;x=13,y=3;loc=zoom'/'x'/'y'.png'
   Oooops ! ... try again.     Invalid hexadecimal or binary string.
                               Only 0-9, a-f, A-F, and whitespace 
characters are valid in a hexadecimal string; found "/".



_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to