>The variable would be created private using this code and it may be not the intent.
It's easy to make it local.
temp.prg
LOCAL lcVar
lcVar = "somevar"
LOCAL (m.lcVar)
STORE 12 TO (m.lcVar)
SET STEP ON && check that somevar was created here.
DO TEMP1
temp1.prg
SET STEP ON && check if somevar is private.
"somevar" is local as it is not in temp1.
Lesson is avoid macro sub unless it's the only way.
>
>>Extra variable, macro substitution. Why so complicated?
>>
>>CREATE CURSOR crsTest (MyFld C(20))
>>INSERT INTO crsTest VALUES ("TestVariable")
>>STORE 200 TO (ALLTRIM(MyFld))
>>
>>>