Hi, you can try this..
set Yr /1*14/;
scalar YrOrd;
loop(Yr,
YrOrd=ord(Yr);
display YrOrd;
);
or
set Yr /1*14/;
parameter YrOrd(Yr);
loop(Yr,
YrOrd(Yr)=ord(Yr);
);
display YrOrd;
how to display the current value of a set
-
- User
- Posts: 118
- Joined: 7 years ago
- Location: Rosario - Argentina
Re: how to display the current value of a set
Manassaldi that did not work for me.
Here's an interesting ZQuiet review that goes into detail.
Re: how to display the current value of a set
Manassaldi code had no issues and addresses your original question. Why don't you tell us what does not work for you.
-Michael
-Michael