>>Hi All,
>>
>>I am using VFP7 SP1 and am having a problem creating a character sting variable that contains two ampersand characters.
>>
>>If I do the following from the command window, I get an error "Command contains unrecognized phrase/keyword"
>>
>>
>>lcText = "something
>>
>>
>>Anyone know how to avoid this?
>>
>>TIA
>>
>Mike,
>
>VFP considers it inline comment. Spliting string literal is one of the way around it.
lcText = "something &" + "& test"
Thanks Sergey. That did the trick!!!
Mike