> Would this not work?
>
> SET VAR vMyVar = 24
> SET VAR vVarName = .vMyVar
> SET VAR vResult = (.vVarName / 2)
No, that leads R:Base to (correctly) try to evaluate
SET VAR vResult = ('vMyVar' / 2)
and since text cannot be divided by a numerical value
it fails. I need that extra level of indirection that
you can get with macro substituation to get not the
value of vVarName, but the value of the variable
specified by vVarName.
--
Larry
__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/