From: | Robert A. Sisk |
Date: | 16 Jul 2001 at 21:37:49 |
Subject: | Re: Final question |
On 16-Jul-01 taoberly@mindspring.com <taoberly@mindspring.com> wrote:
> I have a final question for everybody. Is there a way to reuse the j
> variable in this loop when calling a Workbench function, and if not,
> why? j received the length of the first icon name, but is never
> updated in later iterations:
> /* Icon test */
> ADDRESS WORKBENCH
> GETATTR window.icons.all.count NAME root VAR last_icon
> GETATTR window.icons.all NAME root STEM icon
> DO i = 0 to last_icon-1
drop j /* add this line */
> GETATTR application.font.icon.size NAME '"'icon.i.name'"' VAR j
> SAY icon.i.name" text is "j" pixels long"
> END
Evidently the command that sets j does so only when j is unassigned.
Kind regards,
ARexx mailing list - No flames, no overquoting, no crossposting.
Unsub: Blank mail to mailto:arexx-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/