Deye Posted January 17, 2019 Share Posted January 17, 2019 (edited) Hi, @ Using different names for each Assign Example: Assign("Check_" & $icount, $aArr) what can be a way to use Assign so its from Global scope so I can use eval from functions Thanks Deye Edited January 17, 2019 by Deye Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted January 17, 2019 Share Posted January 17, 2019 @Deye Something like this: Assign("strVariable", "Some text", $ASSIGN_FORCEGLOBAL) _EvalData() Func _EvalData() Local $strEvalString = Eval("strVariable") MsgBox($MB_ICONINFORMATION, "", "$strVariable = " & $strEvalString) EndFunc Deye 1 Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Deye Posted January 17, 2019 Author Share Posted January 17, 2019 (edited) Too fast FrancescoDiMuro Give me a chance to check if my question is whole see the above Edit ; Sorry Edit : Its $ASSIGN_FORCEGLOBAL some how i have completely missed that Thanks Deye Edited January 17, 2019 by Deye FrancescoDiMuro 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now