There are languages with a covention that method names end in ain a question mark iff they are Boolean.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Robert Prins <000005be6ef5bfea-dmarc-requ...@listserv.ua.edu> Sent: Saturday, April 20, 2024 4:17 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: REXX vs other languages WAS: Rexx numeric digits and scientific notation question Try the two characters that are pretty much unique to REXX, "!" and "?" especially for small local loops. Robert -- Robert AH Prins robert(a)prino(d)org The hitchhiking grandfather <https://secure-web.cisco.com/1CjWWkCtcvllbYna0NsyMECv9i2KfIg00WW6Yy8zbPZbuqNVURWRkkaaDHPSxAZ_golJntB-q0HoHRO4xmjIcVfwgac8gvI2_6SvyVqMCVc8nBCtdx_vO5Q2Mb6qOHdTX83kueLEi2cvem-lpM8UaV0aAwBH0qnnPQiIkLMR7hQBTuXwhq3exW8ZbVHC0J7TTM99lPcVIHdaWP9pe4TrcXgvNwTNKYlBw0xERBl7b02W4mpZgIYGDK1U7nP3xwxQNr4_VOb62DMRnlwtO0arxMzQ7XmC0AUr_AdKYr9LOeWK-o1dHvssi8xa4dh2otNrGqpC7gYoPAmd4FYY9xmEKQFW9YA-PIT0WISlYisIhflCX8DxZSs0aSDaDZwahHyyHa2jShnC3TeZ843rDrfBSLR_W_28JfExRqzKVhvAuiO8/https%3A%2F%2Fprino.neocities.org%2Findex.html> Some REXX code for use on z/OS <https://secure-web.cisco.com/1I1tK-MrLJnt0WdLDboV4BPnAvrT6HOway_WfbqRc71O4DYwX2QLPhUWED3iBZa81UrJADr36HbN5u1g3jyqKmBv0piCOFmOc6V913K9OYEEK7V14Ajgt8KD2Jjp6Sg8cJeoCxWESkHKhhZPPwXA_SYdz6-rjucRjHv05hVgJcg41KJ4FbrnfmldqC9DiL0hLKy01Y7dnnLs2CfTHonsMyZna7cWIRmxTApIiNJWZHBWip2YcFhtM5igK5THcJdAebFyfX9CUhqaIF9YN3JkKHPWk2BlDfh8MRTi-MqTu1Q7QLx4yTLpBUNviYRakAswA5ODayfQgbq825wQLtOSw4-WO_rPdAKh5dYUGEnTEn4ihKiQTpDHCUQAc5k_xOEi-uMDQMqcUjPGceoDfu1yzCxtY0Orj__tLTGLTi0koDJE/https%3A%2F%2Fprino.neocities.org%2FzOS%2FzOS-Tools.html> On Sat, 20 Apr 2024 at 15:08, Bob Bridges < 00000587168ababf-dmarc-requ...@listserv.ua.edu> wrote: > It was while I was coding in REXX that I tried abutting a variable named > 'x' with another string, and couldn't figure out why the program behaved as > it did. Eventually figured out I had inadvertently created a hex > constant. Maybe as an overreaction, I have never since used one-character > variable names, always two or more. (What do I use for loop counters?, you > ask. I use 'j' plus another letter; 'jr' for records, for example, 'jd' > for days whatever. More obvious would have been 'i', but there are too > many two-letter reserved words even in REXX that start with 'i'.) > > -----Original Message----- > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf > Of Andrew Rowley > Sent: Friday, April 19, 2024 22:41 > > It doesn't cause a problem except when it does. One danger is a typo in > a variable name. When I wrote some complex Rexx I did use SIGNAL ON > NOVALUE, but I wasn't totally appeased! > > --- On 20/04/2024 12:41 am, Rony G. Flatscher wrote: > > Rexx defines the value of variables that have no explicit value > > assigned to them to be the name of the variable in uppercase, so it > > does not cause a problem. (It does cause problems for programmers who > > got trained to always make sure that a value is assigned to variables. > > This is the reason why ooRexx has an option to activate checking for > > the use of uninitialized variables in Rexx programs to appease those > > who are not accustomed to it or feel that it should not be allowed. ;) ) > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN