Variable in export ascii export ascii aaa= ?variable name ? ?x

Dan Coutu coutu at snowy-owl.com
Wed Oct 26 11:44:29 PDT 2005


Fairlight wrote:

>When asked his whereabouts on Wed, Oct 26, 2005 at 02:04:01PM -0400,
>Dan Coutu took the fifth, drank it, and then slurred:
>  
>
>>The magical incantation requires the use of parentheses. As a general 
>>rule you can use parentheses around a variable almost anywhere. So do 
>>this instead:
>>
>>export ascii aaa = (MyVariable) -x
>>    
>>
>
>The exceptions are index names in lookup statements, and subscripts for
>a lookup [lr]value, are they not?  The syntax i=(zz) in a LOOKUP and
>lookupalias((aa)) [with or without extra parens] are both unusable,
>correct?  
>
>I've often wished for the latter--I've never gotten it to work.  I was told
>it's not possible.  The former could also be very helpful in some situations.
>
>mark->
>  
>
Actually you can use the parentheses trick with index names in lookups. 
It works just fine for me with version 5.0.14D4.

I've never used lookupaliases though.

Dan


More information about the Filepro-list mailing list