New OPTION between -binary and -nobinary

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

New OPTION between -binary and -nobinary

ThSITC
Hello there,

    I'm currently seeking for a new OPTION name sitting *in the middle*
between
OPTIONS BINARY and OPTIONS NOBINARY.

    This new option shall TRANSFORM any and all references to

* primitive Java Types (as int, long, etc, etc)
* Java STRING's (not denoted as Rexx in the source)

    to a Rexx String, by surrounding the referenced Variable by a Rexx( ...)
constructor.

   This intermediate OPTION will, therefore:

* need to impoirt the Rexx package (as opposed to OPTION BINARY)
* should work with the Java BigDecimal Class, as well (or Mike's
implementation of BigDecimal, or the IBM zOS available HARDWARE
implementation of Mike's BigDecimal Algorithms.

   This NEW OPTION should make the TRANSITION from a pure NetRexx
program (containing BUILTIN NetRexx methods) Less cumbersome, i.e:

i = Int 14
...
ed_i=i.right(5)

shall be ALLOWED.

Now, I'm seeking for a proper NAME for this nerw OPTION!

Any suggestions?

Thomas Schneider.
  :

--
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: New OPTION between -binary and -nobinary

Kermit Kiser
Here is a suggestion for you: *Don't* tell the translator your variable
is a *Java* data type and then ask it to perform *NetRexx* data type
functions on it!

And you can save keystrokes too!:

i = 14
...
ed_i=i.right(5)

-- KK


On 10/1/2011 1:54 AM, Thomas Schneider wrote:
> i = Int 14
> ...
> ed_i=i.right(5)

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

Reply | Threaded
Open this post in threaded view
|

Re: New OPTION between -binary and -nobinary

ThSITC
Kermit, *I do know*, but:

Found that when putting an OPTION BINARY at the top of my programs,
I'm getting suddenly a lot of error messages (´which I've already resolved).

The whole issue is, for me, a DESIGN problem.

But as mostl of my suggested issues at netrexx.kenai.com have been
successfully REMOVED now (but not resoved), and I do think they are
still valid, I'm re-entering them for discussion here now :-)

Thomas.

When you do not like any discussions, then simply say so:

I then will stop to make any further entries.

But I think that Bob Hamilton's forwarded Python example did show what
other languages are already doing!

Anyway, I'm with you, *not* against you ... :-)
===========================================================
==========================================================
Am 01.10.2011 21:49, schrieb Kermit Kiser:

> Here is a suggestion for you: *Don't* tell the translator your
> variable is a *Java* data type and then ask it to perform *NetRexx*
> data type functions on it!
>
> And you can save keystrokes too!:
>
> i = 14
> ...
> ed_i=i.right(5)
>
> -- KK
>
>
> On 10/1/2011 1:54 AM, Thomas Schneider wrote:
>> i = Int 14
>> ...
>> ed_i=i.right(5)
>
> _______________________________________________
> 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: New OPTION between -binary and -nobinary

David Requena
Thomas,

So you ask for discussion but complain when you get some? Of course you'll need to convince everyone that a potential change yields significant value while not breaking existing code and... well, you know the drill.

On the case at hand, I honestly fail to see the purpose of that 'semi-binary' option. When would I need binary/native types which are not binary?

Can you produce a reasonable use case for this?

-
Saludos / Kind regards,
David Requena

NOTE: The opinions expressed here represent the opinions
of the authors and do not necessarily represent the opinions
of those who hold other opinions.

-----Original Message-----
From: Thomas Schneider <[hidden email]>
Sender: [hidden email]
Date: Sun, 02 Oct 2011 00:54:22
To: IBM Netrexx<[hidden email]>
Reply-To: IBM Netrexx <[hidden email]>
Subject: Re: [Ibm-netrexx] New OPTION between -binary and -nobinary

Kermit, *I do know*, but:

Found that when putting an OPTION BINARY at the top of my programs,
I'm getting suddenly a lot of error messages (´which I've already resolved).

The whole issue is, for me, a DESIGN problem.

But as mostl of my suggested issues at netrexx.kenai.com have been
successfully REMOVED now (but not resoved), and I do think they are
still valid, I'm re-entering them for discussion here now :-)

Thomas.

When you do not like any discussions, then simply say so:

I then will stop to make any further entries.

But I think that Bob Hamilton's forwarded Python example did show what
other languages are already doing!

Anyway, I'm with you, *not* against you ... :-)
===========================================================
==========================================================
Am 01.10.2011 21:49, schrieb Kermit Kiser:

> Here is a suggestion for you: *Don't* tell the translator your
> variable is a *Java* data type and then ask it to perform *NetRexx*
> data type functions on it!
>
> And you can save keystrokes too!:
>
> i = 14
> ...
> ed_i=i.right(5)
>
> -- KK
>
>
> On 10/1/2011 1:54 AM, Thomas Schneider wrote:
>> i = Int 14
>> ...
>> ed_i=i.right(5)
>
> _______________________________________________
> 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/


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

Reply | Threaded
Open this post in threaded view
|

Re: New OPTION between -binary and -nobinary

ThSITC
Will respond next week... Too busy currently with my own releases.
Thomas.
=====================================================
Am 02.10.2011 01:10, schrieb David Requena:

> Thomas,
>
> So you ask for discussion but complain when you get some? Of course you'll need to convince everyone that a potential change yields significant value while not breaking existing code and... well, you know the drill.
>
> On the case at hand, I honestly fail to see the purpose of that 'semi-binary' option. When would I need binary/native types which are not binary?
>
> Can you produce a reasonable use case for this?
>
> -
> Saludos / Kind regards,
> David Requena
>
> NOTE: The opinions expressed here represent the opinions
> of the authors and do not necessarily represent the opinions
> of those who hold other opinions.
>
> -----Original Message-----
> From: Thomas Schneider<[hidden email]>
> Sender: [hidden email]
> Date: Sun, 02 Oct 2011 00:54:22
> To: IBM Netrexx<[hidden email]>
> Reply-To: IBM Netrexx<[hidden email]>
> Subject: Re: [Ibm-netrexx] New OPTION between -binary and -nobinary
>
> Kermit, *I do know*, but:
>
> Found that when putting an OPTION BINARY at the top of my programs,
> I'm getting suddenly a lot of error messages (´which I've already resolved).
>
> The whole issue is, for me, a DESIGN problem.
>
> But as mostl of my suggested issues at netrexx.kenai.com have been
> successfully REMOVED now (but not resoved), and I do think they are
> still valid, I'm re-entering them for discussion here now :-)
>
> Thomas.
>
> When you do not like any discussions, then simply say so:
>
> I then will stop to make any further entries.
>
> But I think that Bob Hamilton's forwarded Python example did show what
> other languages are already doing!
>
> Anyway, I'm with you, *not* against you ... :-)
> ===========================================================
> ==========================================================
> Am 01.10.2011 21:49, schrieb Kermit Kiser:
>> Here is a suggestion for you: *Don't* tell the translator your
>> variable is a *Java* data type and then ask it to perform *NetRexx*
>> data type functions on it!
>>
>> And you can save keystrokes too!:
>>
>> i = 14
>> ...
>> ed_i=i.right(5)
>>
>> -- KK
>>
>>
>> On 10/1/2011 1:54 AM, Thomas Schneider wrote:
>>> i = Int 14
>>> ...
>>> ed_i=i.right(5)
>> _______________________________________________
>> 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