Source Code Question

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Source Code Question

Jason Martin
What is RxProxy.proxy in src/org/netrexx/process and how is it created?

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Source Code Question

rvjansen
Hi Jason,

afaik it was in the received materials from IBM. I thought to send you this answer before I look further into it, before I get sidetracked and even this answer is lost.

best regards,

René.

On 10 mei 2012, at 02:53, Jason Martin wrote:

> What is RxProxy.proxy in src/org/netrexx/process and how is it created?
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Source Code Question

Mike Cowlishaw
 

> afaik it was in the received materials from IBM. I thought to
> send you this answer before I look further into it, before I
> get sidetracked and even this answer is lost.
>
> best regards,
>
> René.
>
> On 10 mei 2012, at 02:53, Jason Martin wrote:
>
> > What is RxProxy.proxy in src/org/netrexx/process and how is
> > it created?

Looks like a test file left there for inspection during testing.  See
RxProxyLoader.LoadClass

Mike

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Source Code Question

ThSITC
Thanks for the hint, Mike, as always :-)
Might be very useful :-)
thomas.
=======================================

Am 11.05.2012 09:11, schrieb Mike Cowlishaw:

>
>> afaik it was in the received materials from IBM. I thought to
>> send you this answer before I look further into it, before I
>> get sidetracked and even this answer is lost.
>>
>> best regards,
>>
>> René.
>>
>> On 10 mei 2012, at 02:53, Jason Martin wrote:
>>
>>> What is RxProxy.proxy in src/org/netrexx/process and how is
>>> it created?
> Looks like a test file left there for inspection during testing.  See
> RxProxyLoader.LoadClass
>
> Mike
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>
>


--
Thomas Schneider (Founder of www.thsitc.com) Member of the Rexx Languge
Asscociation (www.rexxla.org) Member of the NetRexx Developer's Team
(www.netrexx.org)

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: Source Code Question

Jason Martin
In reply to this post by Mike Cowlishaw
Thanks, I will look there.

I am also having trouble going from hex to octal to unicode

May be some bug with my system but :

line 98 of  RexxIO.nrx reads

when aline[aline.length-1]\=='\-' then StdOut.println(aline)

but when I look at my -keepasjava after compile

I see :

else if ((aline[aline.length-1])!=('\000'))StdOut.println(aline);


How does a '-' get to 0 ?


I passed the option flags at the top of the flag just to be sure.
 

On Fri, May 11, 2012 at 3:11 AM, Mike Cowlishaw <[hidden email]> wrote:

> afaik it was in the received materials from IBM. I thought to
> send you this answer before I look further into it, before I
> get sidetracked and even this answer is lost.
>
> best regards,
>
> René.
>
> On 10 mei 2012, at 02:53, Jason Martin wrote:
>
> > What is RxProxy.proxy in src/org/netrexx/process and how is
> > it created?

Looks like a test file left there for inspection during testing.  See
RxProxyLoader.LoadClass

Mike

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Source Code Question

Mike Cowlishaw
Backslash is the escape character in NetRexx strings, and '\-' is an escape sequence for the null character (hex 00).
 
Mike 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Martin
Sent: 11 May 2012 10:05
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Source Code Question

Thanks, I will look there.

I am also having trouble going from hex to octal to unicode

May be some bug with my system but :

line 98 of  RexxIO.nrx reads

when aline[aline.length-1]\=='\-' then StdOut.println(aline)

but when I look at my -keepasjava after compile

I see :

else if ((aline[aline.length-1])!=('\000'))StdOut.println(aline);


How does a '-' get to 0 ?


I passed the option flags at the top of the flag just to be sure.
 

On Fri, May 11, 2012 at 3:11 AM, Mike Cowlishaw <[hidden email]> wrote:

> afaik it was in the received materials from IBM. I thought to
> send you this answer before I look further into it, before I
> get sidetracked and even this answer is lost.
>
> best regards,
>
> René.
>
> On 10 mei 2012, at 02:53, Jason Martin wrote:
>
> > What is RxProxy.proxy in src/org/netrexx/process and how is
> > it created?

Looks like a test file left there for inspection during testing.  See
RxProxyLoader.LoadClass

Mike

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Source Code Question

Jason Martin
Thanks, Sorry, Just tired.

On Fri, May 11, 2012 at 5:43 AM, Mike Cowlishaw <[hidden email]> wrote:
Backslash is the escape character in NetRexx strings, and '\-' is an escape sequence for the null character (hex 00).
 
Mike 


From: [hidden email] [mailto:[hidden email]] On Behalf Of Jason Martin
Sent: 11 May 2012 10:05
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Source Code Question

Thanks, I will look there.

I am also having trouble going from hex to octal to unicode

May be some bug with my system but :

line 98 of  RexxIO.nrx reads

when aline[aline.length-1]\=='\-' then StdOut.println(aline)

but when I look at my -keepasjava after compile

I see :

else if ((aline[aline.length-1])!=('\000'))StdOut.println(aline);


How does a '-' get to 0 ?


I passed the option flags at the top of the flag just to be sure.
 

On Fri, May 11, 2012 at 3:11 AM, Mike Cowlishaw <[hidden email]> wrote:

> afaik it was in the received materials from IBM. I thought to
> send you this answer before I look further into it, before I
> get sidetracked and even this answer is lost.
>
> best regards,
>
> René.
>
> On 10 mei 2012, at 02:53, Jason Martin wrote:
>
> > What is RxProxy.proxy in src/org/netrexx/process and how is
> > it created?

Looks like a test file left there for inspection during testing.  See
RxProxyLoader.LoadClass

Mike

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/




_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Source Code Question

christel.u.w.pachl christel.u.w.pachl
'\x00' looks better to me. I can READ id
---- Jason Martin <[hidden email]> schrieb:

> Thanks, Sorry, Just tired.
>
> On Fri, May 11, 2012 at 5:43 AM, Mike Cowlishaw <[hidden email]> wrote:
>
> > **
> > Backslash is the escape character in NetRexx strings, and '\-' is an
> > escape sequence for the null character (hex 00).
> >
> > Mike
> >
> >  ------------------------------
> > *From:* [hidden email] [mailto:
> > [hidden email]] *On Behalf Of *Jason Martin
> > *Sent:* 11 May 2012 10:05
> > *To:* IBM Netrexx
> > *Subject:* Re: [Ibm-netrexx] Source Code Question
> >
> > Thanks, I will look there.
> >
> > I am also having trouble going from hex to octal to unicode
> >
> > May be some bug with my system but :
> >
> > line 98 of  RexxIO.nrx reads
> >
> > when aline[aline.length-1]\=='\-' then StdOut.println(aline)
> >
> > but when I look at my -keepasjava after compile
> >
> > I see :
> >
> > else if ((aline[aline.length-1])!=('\000'))StdOut.println(aline);
> >
> >
> > How does a '-' get to 0 ?
> >
> >
> > I passed the option flags at the top of the flag just to be sure.
> >
> >
> > On Fri, May 11, 2012 at 3:11 AM, Mike Cowlishaw <[hidden email]>wrote:
> >
> >>
> >> > afaik it was in the received materials from IBM. I thought to
> >> > send you this answer before I look further into it, before I
> >> > get sidetracked and even this answer is lost.
> >> >
> >> > best regards,
> >> >
> >> > René.
> >> >
> >> > On 10 mei 2012, at 02:53, Jason Martin wrote:
> >> >
> >> > > What is RxProxy.proxy in src/org/netrexx/process and how is
> >> > > it created?
> >>
> >> Looks like a test file left there for inspection during testing.  See
> >> RxProxyLoader.LoadClass
> >>
> >> Mike
> >>
> >> _______________________________________________
> >> Ibm-netrexx mailing list
> >> [hidden email]
> >> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
> >>
> >>
> >
> > _______________________________________________
> > Ibm-netrexx mailing list
> > [hidden email]
> > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
> >
> >
> >

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Source Code Question

Mike Cowlishaw
> [mailto:[hidden email]] On Behalf Of Walter Pachl
> Sent: 11 May 2012 11:10
>
> '\x00' looks better to me. I can READ id

The purpose of the '\-' notation is not especially as a way of saying 'null
character' but as a way of saying "don't do a line feed after this SAY string"
(which is indicated by a null character at the end of the string).  I chose '\-'
because the '-' also means 'continuation' at the end of a line of NetRexx
syntax.

Mike

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of Walter Pachl
> Sent: 11 May 2012 11:10
> To: IBM Netrexx
> Subject: Re: [Ibm-netrexx] Source Code Question
>
> '\x00' looks better to me. I can READ id

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Source Code Question

Jason Martin
Like I said, Magic. That is why I keep NetRexx in mind all these years. I knew the source under the binary had to be good.

On Fri, May 11, 2012 at 6:34 AM, Mike Cowlishaw <[hidden email]> wrote:
> [mailto:[hidden email]] On Behalf Of Walter Pachl
> Sent: 11 May 2012 11:10
>
> '\x00' looks better to me. I can READ id

The purpose of the '\-' notation is not especially as a way of saying 'null
character' but as a way of saying "don't do a line feed after this SAY string"
(which is indicated by a null character at the end of the string).  I chose '\-'
because the '-' also means 'continuation' at the end of a line of NetRexx
syntax.

Mike

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of Walter Pachl
> Sent: 11 May 2012 11:10
> To: IBM Netrexx
> Subject: Re: [Ibm-netrexx] Source Code Question
>
> '\x00' looks better to me. I can READ id

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/