Search the web
Sign In
New User? Sign Up
rxmui · Discussion about RxMUI, the MUI/Guis library for ARexx.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
RxMUIGetVar()   Message List  
Reply | Forward Message #1752 of 1832 |
Re: [RxMUI] RxMUIGetVar()

Robert A. Sisk ha scritto:
> Hello, Alfie and RxMUIers.
>
> The attached example is my attempt to get a compound variable in a
> PopObject.OpenFun macro. What am I doing wrong? Is RxMUIGetVar() broken?
>
> RxMUI 42.2, MUI 3.8, AmigaOS 3.9, A4000/040
>
> Kind regards,
>

Very tricky one.

Listen, ARexx store compounds in a case sensitive way! Hard to believe
but you can see that in your examples with a

---
n=StemFields(roster,f)
do i=0 to n-1
say f.i
end
---

What RxMUIGetVar() do is to get an var in the vars tree in a case
insensitive way. So f.e., it tries to get "ROSTER.CLUB MED" when
"Roster.Club Med" is the name of the var. The space in the var name is
also problematic.

What you have to do is:
---
Club="FIGHTCLUB"
...
Club="CLUBMED"
...
Roster=RxMUIGetVar(UPPER(COMPRESS(Roster.Club));
---

That's all, in the easier way.

I can't do anything to change that behavior because of any changes will
create more complications and incompatibilities.

Ciao. Alfonso






Sat Oct 20, 2007 10:35 pm

alforan
Offline Offline
Send Email Send Email

Forward
Message #1752 of 1832 |
Expand Messages Author Sort by Date

Hello, Alfie and RxMUIers. The attached example is my attempt to get a compound variable in a PopObject.OpenFun macro. What am I doing wrong? Is RxMUIGetVar()...
Robert A. Sisk
rsisk2003
Offline Send Email
Oct 20, 2007
2:56 am

... Very tricky one. Listen, ARexx store compounds in a case sensitive way! Hard to believe but you can see that in your examples with a ... ...
Alfonso
alforan
Offline Send Email
Oct 20, 2007
10:36 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help