You can avoid it by using the abbutal operator wherever you use a variable
named x (or b)

I=1;X=2; Say I":"||X;

hth,

Jon

On 23 February 2012 16:54, CVBruce <[email protected]> wrote:

> Ok, Thanks.
>
> On Feb 23, 2012, at 8:47 AM, David Ashley wrote:
>
>  In a string abuttal the trailing character "x" has a higher precedence
> than other characters. Thus Rexx will always assume that a string constant
> with an immediate trailing "x" will assumed to be a hex string. This is the
> way it has always been.
>
> David Ashley
>
> On 02/23/2012 10:38 AM, CVBruce wrote:
>
> Hi,
>
>  I don't know if this is a bug or programmer error.  It is an unexpected
> result for me.  When I use the statement SAY I":"X I expected the same
> results as when I use the statement SAY I":"L but ooRexx thinks I'm
> trying to use a hex number.  Am I not using Rexx correctly?
>
>  Bruce
>
>  REXX-ooRexx_4.1.1(MT) 6.03 7 Feb 2012
>   /usr/share/ooRexx/rexxtry.rex lets you interactively try REXX statements.
>     Each string is executed when you hit Enter.
>     Enter 'call tell' for a description of the features.
>   Go on - try a few...            Enter 'exit' to end.
> I=1;X=2; Say I":"X;
>   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 ":"
>   rc = 15.3 .................. /usr/share/ooRexx/rexxtry.rex on MACOSX
> I=1;L=2; Say I":"L
> 1:2
>   ............................ /usr/share/ooRexx/rexxtry.rex on MACOSX
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a 
> service.http://www.accelacomm.com/jaw/sfnl/114/51521223/
>
>
> _______________________________________________
> Oorexx-devel mailing 
> [email protected]https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
>
> http://www.accelacomm.com/jaw/sfnl/114/51521223/_______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to