It's called Macro Substitution. It runs the code stored in the variable.
>i want to know what does the sign &
>
>
>like i have in the code
>
>
>cmd = STRTRAN(cPatern,'
',cWhere)
>cmd = STRTRAN(cmd,'',cCursor)
>
>&cmd +=========== what it does ??????
>
>cWhere = cWhere + ''
>
>
>
>thanks
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer