As per my requirement , commondappdata folder needs to be changed dynamically. i am taking value from user but that value i am assigning directly to CommonAppDataFolder property then it is giving compilation error.
nresult= AskDestpath(sztitle,szMsg,SzDir,0)
CommonAppdataFolder = SzDir;
###Error- '=' : semicolon expected
Even though all syntax are correct. When i am removing "CommonAppdataFolder = SzDir;" then compilation is going fine.