Re: Assigning same value to multiple variables
- From: Gil Barmwater <gil_b@xxxxxxxxxxxxx>
- Date: Sat, 31 May 2008 08:13:50 -0400
Steve Swift wrote:
Has the ability to assign the same value to several variables been added to ooRexx anywhere along the way? My bet is no (on the basis that I tend to lose all bets, and I want to lose this one).But this DOES handle blanks:
So instead of:
A=1; B=1
I could use something like:
A,B = 1
I get around this using the mechanism:
Parse value 1 1 with A B /* But it's not very elegant */
/* And doesn't handle blanks */
Parse value 'two words' with A 1 B 1 C
.
- References:
- Assigning same value to multiple variables
- From: Steve Swift
- Assigning same value to multiple variables
- Prev by Date: Assigning same value to multiple variables
- Next by Date: Re: Assigning same value to multiple variables
- Previous by thread: Assigning same value to multiple variables
- Next by thread: Re: Assigning same value to multiple variables
- Index(es):
Relevant Pages
|