> I'm imagining: > stem. = '2 + 2' /* 5-character string */ > What is the syntax of "name"
It's a string; there are no restrictions on the contents of that string. > What name is assigned? "2 + 2" > Is "removes" different from "drop"? I was trying to avoid confusion between the common English verb drop and the Rexx keyword DROP. > what is the SYMBOL() type of those variables removed? > LIT rather than VAR? LIT > What is the significance o f the "name" of a stem? It's the value returned by the STRING method. It's also the default value for missing (not dropped) elements. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Paul Gilmartin <[email protected]> Sent: Tuesday, July 2, 2024 2:54 PM To: [email protected] Subject: Re: Rexx is quite cool, flexible, powerful, feature-rich, thank you! (Re: z/OS 3.1 Enhancements & Support News On Tue, 2 Jul 2024 18:34:43 +0000, Seymour J Metz wrote: >in ooRexx it assigns a name to the stem and removes all elements. You can see >from the test that the stem has no elements after that. That behavior matches >the documentation. > I'm imagining: stem. = '2 + 2' /* 5-character string */ What is the syntax of "name" What name is assigned? Is "removes" different from "drop"? what is the SYMBOL() type of those variables removed? LIT rather than VAR? What is the significance o f the "name" of a stem? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
