Code: Select all | Expand
&cVarName := cVarValue
I explain you
I take the variables from a extern file sample
Code: Select all | Expand
FUNCTION ReadFile()
local cFileName := "table_1.dat"
local aInfo := ReadProtectedFile(cFileName)
local aItem,cVarName,cVarValue
FOR EACH aItem IN aInfo
cVarName := aItem[1]
cVarValue := aItem[2]
&cVarName := cVarValue
NEXT
?c8
RETURN NIL
for example if there are 3 variables their names will be c1,c2,c3
How I must declare these variables before to assign the cVarValue ?
Must I use memvar?