Re: [Oorexx-devel] Questions ad RXINI and RXTER exits

2012-02-23 Thread Rony G. Flatscher

On 22.02.2012 10:47, Rony G. Flatscher wrote:
 On 19.02.2012 15:16, Rick McGuire wrote:
 On Sun, Feb 19, 2012 at 8:48 AM, Rony G. Flatscher
 rony.flatsc...@wu-wien.ac.at wrote:
 After having implemented and successfully tested the RXSIO, RXNOVAL and
 RXVALUE exits (i.e. exit handlers in Java process the exits), I turned to
 RXINI and RXTER, which has been very interesting as it allows one to get
 some feeling about how much is actually going on in the ooRexx
 interpreter. :)

 A few questions from the observations:

 I noticed that in RXINI one can set context variables, but getting them in
 the same RXINI routine returns the variables as NULL, not reflecting that
 immediately before a SetContextVariable() was carried out (successfully as
 it turns out later in the Rexx code)?
 Provide a test case to recreate this, and I'll take a look at it.
 While looking into this in order to create an easy to use test case, 
 employing now ooRexx 4.1.1
 beta, the problem cannot be recreated anymore.
Just for the record (for others who read and may be interested): everything is 
fine! The correct
(matching) numbers of RXINI and RXTER exit invocations take place.

I misinterpreted the results (the example program does intentionally deactivate 
RXINI handling
temporarily, hence not servicing a few of the RXINI exits during that time).

---rony


--
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
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] RXOFNC/RXEXF-related question

2012-02-23 Thread Rony G. Flatscher

On 21.02.2012 21:37, Rick McGuire wrote:
 I don't see anthing obviously wrong here. Provide a sample program so
 I can recreate this, and I'll take a look at it.
Also, just for the record for others who read this thread and are interested in 
the final result:
RXOFNC/RXEXF setting of flags works in the documented manner.

It was a programming error on my part that the flag changes in the Java handler 
were not transported
back correctly to Rexx (did not use a pointer for the flags, but a local copy 
which got changed).

---rony


--
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
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


[Oorexx-devel] Latest PDF builds?

2012-02-23 Thread Oliver Sims
Can you tell me where the latest PDF builds are?
They used to be at  http://build.oorexx.org/builds/docs/
http://build.oorexx.org/builds/docs/, but there's nothing there now...
 
Many thanks,
Oliver 
 

 

 
--
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
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Latest PDF builds?

2012-02-23 Thread Mark Miesfeld
I think David is doing some work on the build machine and it is not
currently building the docs.

I'll send the latest oodguide.pdf and oodialog.pdf to you in a separte
e-mail.  If anyone else would like a copy, just e-mail me at my gmail
address.

--
Mark Miesfeld

On Thu, Feb 23, 2012 at 7:42 AM, Oliver Sims
oliver.s...@simsassociates.co.uk wrote:
 Can you tell me where the latest PDF buildsĀ are?
 They used to be at http://build.oorexx.org/builds/docs/, but there's nothing
 there now...

 Many thanks,
 Oliver






 --
 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
 Oorexx-devel@lists.sourceforge.net
 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
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


[Oorexx-devel] Interesting Problem

2012-02-23 Thread CVBruce
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 list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Interesting Problem

2012-02-23 Thread David Ashley
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 list
Oorexx-devel@lists.sourceforge.net
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
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Interesting Problem

2012-02-23 Thread Sahananda (Jon) Wolfers
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 cvbr...@gmail.com 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 
 listOorexx-devel@lists.sourceforge.nethttps://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
 Oorexx-devel@lists.sourceforge.net
 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
 Oorexx-devel@lists.sourceforge.net
 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
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel