faustf Posted March 22, 2018 Share Posted March 22, 2018 hi guy i want create a variable like this $variable1 , and also $varible2 the number at end of variable is given by content of array , how is possible to do if is possible of course thankz at all Link to comment Share on other sites More sharing options...
Subz Posted March 22, 2018 Share Posted March 22, 2018 You can use Assign, for example Assign("Variable" & $aArray[$i], "Variable Value") Link to comment Share on other sites More sharing options...
Trong Posted March 23, 2018 Share Posted March 23, 2018 Maybe this: Local $Var1 = 1 Local $Var2 = 2 Local $Var3 = 3 Local $Var4 = "Cac" Local $Var5[2] = [5,6] ConsoleWrite(Execute("$Var1")&@CRLF) ConsoleWrite(Execute("$Var1+1")&@CRLF) ConsoleWrite(Execute("$Var1+$Var3")&@CRLF) ConsoleWrite(Execute("$Var4")&@CRLF) ConsoleWrite(Execute("$Var5[1]")&@CRLF) Regards, 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