org.netrexx.runtime.compatibility Rexxfile

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

org.netrexx.runtime.compatibility Rexxfile

ThSITC
Hi there,

    still working on this for: org.netrexx.runtime.compatibilty

Question:

    Should I introduce the syntax & semantic's of


class myclass USES RexxFile

afile = "org/netrexx/runtime/compatibily/RexxFile.nrx'

do whiles lines(afile) > 0
    aline=linein(afile)
    say aline
end

*or NOT* ??

Further thinking (on REMOTE file access)

Any ideas ?
Thomas-




--
Thomas Schneider (www.thsitc.com)
_______________________________________________
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: org.netrexx.runtime.compatibility Rexxfile

David Requena
Thomas,
 
Why not? It's your library.
 
If you ask my advise, I would say your compatibility lib should map exactly the classic rexx i/o facilities or it would not serve any real purpose the classic rexxers.
That said, I'm not really acquainted with classic rexx i/o so I would not know..

2011/6/23 Thomas Schneider <[hidden email]>
Hi there,

  still working on this for: org.netrexx.runtime.compatibilty

Question:

  Should I introduce the syntax & semantic's of


class myclass USES RexxFile

afile = "org/netrexx/runtime/compatibily/RexxFile.nrx'

do whiles lines(afile) > 0
  aline=linein(afile)
  say aline
end

*or NOT* ??

Further thinking (on REMOTE file access)

Any ideas ?
Thomas-




--
Thomas Schneider (www.thsitc.com)
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/




--
Saludos / Regards,
David Requena


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

Reply | Threaded
Open this post in threaded view
|

Re: org.netrexx.runtime.compatibility Rexxfile

ThSITC
Hello David,
   thanks for your reply.

My personal feeling is, that many NetRexx users are NOT aware of
the power of the USES statement in NetRexx.

The USES statement does allow you define a set of classes which might be USED below without any need of mentioning explicitely the class.

That was and is the reason that I did implement most of my run-time routines
with public static methods, thus allowing a notation identical to classic Rexx
when USES is used.

Hopefully helpful :-)
Thomas.
==============================================================
Am 24.06.2011 20:40, schrieb David Requena:
Thomas,
 
Why not? It's your library.
 
If you ask my advise, I would say your compatibility lib should map exactly the classic rexx i/o facilities or it would not serve any real purpose the classic rexxers.
That said, I'm not really acquainted with classic rexx i/o so I would not know..

2011/6/23 Thomas Schneider <[hidden email]>
Hi there,

  still working on this for: org.netrexx.runtime.compatibilty

Question:

  Should I introduce the syntax & semantic's of


class myclass USES RexxFile

afile = "org/netrexx/runtime/compatibily/RexxFile.nrx'

do whiles lines(afile) > 0
  aline=linein(afile)
  say aline
end

*or NOT* ??

Further thinking (on REMOTE file access)

Any ideas ?
Thomas-




--
Thomas Schneider (www.thsitc.com)
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/




--
Saludos / Regards,
David Requena



--
Thomas Schneider (www.thsitc.com)

_______________________________________________
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: org.netrexx.runtime.compatibility Rexxfile

ThSITC
In reply to this post by David Requena
Hello David,
   *When* you are using RexxFile *with the famous USING* clause, which MFC did provise in his wisdom, you might exacly use the same *notation*
as is classic Rexx.
   Same holds true for any/wll FUNCTIONS (static methods called in NetRexx).

   Thus, you might even invoke MFC's methods in the old 'funtion oriented style.

Any, I'm also confirming that I am the sole author of:

org.netrexx,runtime.compatibility.

I've changed a bit for the Rexx2Nrx release, namely to conform to
Java Naming conventions. There will be, of course, a proposed CHANGE
process, for old Rexx2Nrx.Rexx2RT run-time users.... :-)

Having said that, I'm again returning to work.

End of advertisement <grin>
Thomas.
================================================
Am 24.06.2011 20:40, schrieb David Requena:
Thomas,
 
Why not? It's your library.
 
If you ask my advise, I would say your compatibility lib should map exactly the classic rexx i/o facilities or it would not serve any real purpose the classic rexxers.
That said, I'm not really acquainted with classic rexx i/o so I would not know..

2011/6/23 Thomas Schneider <[hidden email]>
Hi there,

  still working on this for: org.netrexx.runtime.compatibilty

Question:

  Should I introduce the syntax & semantic's of


class myclass USES RexxFile

afile = "org/netrexx/runtime/compatibily/RexxFile.nrx'

do whiles lines(afile) > 0
  aline=linein(afile)
  say aline
end

*or NOT* ??

Further thinking (on REMOTE file access)

Any ideas ?
Thomas-




--
Thomas Schneider (www.thsitc.com)
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/




--
Saludos / Regards,
David Requena



--
Thomas Schneider (www.thsitc.com)

_______________________________________________
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