From: Lee P. <le...@sa...> - 2007-06-13 13:17:34
|
I'll gladly enter the RFE :-) , but I'd like to have some feedback on my choice of operators first. And possibly any other desired operators I might have omitted. Lee Rick McGuire wrote: > Of course, I should point out that things like this are more likely to > be implemented if somebody actually opens an RFE requesting it.... > > Rick > > On 6/13/07, * Lee Peedin* <le...@sa... > <mailto:le...@sa...>> wrote: > > Well, I can assure you that even though David & I work in the same > office, we hadn't discussed this > before he sent his message; however, Matt & I were, in fact, > discussing it on Monday. > > How about something like this: > > astring = 'Hello' > avar = 5 > > astring &= 'World' --> Hello World > astring &== 'World --> HelloWorld > > avar += 2 --> 7 > avar -= 2 --> 3 > avar *= 2 --> 10 > avar \\= --> 2.5 > avar **= --> 25 > > Just my 2 cents. > > Lee > > > > Rick McGuire wrote: > > I've considered the possibility of adding constructs like +=, > etc., and > > I think it can be easily done. However, don't get your hopes up > that > > "+=" might be used for concatenate. The definition of something like > > > > a += b > > > > would be > > > > a = a + b > > > > which would be addition, not concatenation. And since Rexx > strings are > > used for both numbers and string values, the definition of "+" can't > > easily be converted to concatenate. > > > > Rick > > > > On 6/12/07, *David Ruggles* < da...@sa... > <mailto:da...@sa...> > > <mailto:da...@sa... <mailto:da...@sa...>>> wrote: > > > > I'm ducking even as I write this. :) > > > > I apologize if this request violates the very tenets of Rexx, > but > > here goes: > > > > Would it be within the scope of the Rexx Language to in > include a += > > string > > concatenate? > > > > So instead of writing: > > String = string 'more string stuff' > > You could do: > > String += 'more string stuff' > > > > Thanks, > > > > David Ruggles > > CCNA MCSE (NT) CNA A+ > > Network Engineer Safe Data, Inc. > > (910) 285-7200 da...@sa... > <mailto:da...@sa...> <mailto:da...@sa... > <mailto:da...@sa...>> > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > <http://sourceforge.net/powerbar/db2/> > > _______________________________________________ > > Oorexx-devel mailing list > > Oor...@li... > <mailto:Oor...@li...> > > <mailto:Oor...@li... > <mailto:Oor...@li...>> > > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > > > > > > > > > ------------------------------------------------------------------------ > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > > > > > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > > Oorexx-devel mailing list > > Oor...@li... > <mailto:Oor...@li...> > > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Oorexx-devel mailing list > Oor...@li... > <mailto:Oor...@li...> > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > <https://lists.sourceforge.net/lists/listinfo/oorexx-devel> > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Oorexx-devel mailing list > Oor...@li... > https://lists.sourceforge.net/lists/listinfo/oorexx-devel |