Jump to content

Is there a way to form variable name


bogQ
 Share

Recommended Posts

something like if

$var = "ok"
$var2 = "man"

join them $+$var+$var2

so that

$okman = "data what i need"

?

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

something like if

$var = "ok"
$var2 = "man"

join them $+$var+$var2

so that

$okman = "data what i need"

?

You want "Assign"

$Var1 = "Variable"
$Var2 = "One"
Assign($Var1&$Var2, "Some Data")
MsgBox(0,"Test", $VariableOne)

Usually, there is a better way to structure code than with assign, why is it that you are doing this?

Link to comment
Share on other sites

You want "Assign"

$Var1 = "Variable"
$Var2 = "One"
Assign($Var1&$Var2, "Some Data")
MsgBox(0,"Test", $VariableOne)oÝ÷ ÙK.jYr¶«z+mëmz¼ÊÚ,¶»¶êÞr^¶§Â+ajË"|!Ê+"¶ØZ·*.j·¢)ඬþ«¨µæ®¶­sb6æ6ÇVFRfÇC¶fÆRæS2fwC°¤FÒb33c·6V&6ÒgV÷C´Æ7FæVFBæFBgV÷C°¢b33c¶6Æ7VÆFRÒ¢b33c¶fÆRÒfÆT÷Vâb33c·6V&6¢b33c´ÆæRÒfÆU&VDÆæRb33c¶fÆRâb33c·v÷&EöCÒ7G&æu7ÆBb33c´ÆæRÂgV÷CµâgV÷C²¢b33c¶fæBÒb33c·v÷&EöC³Ð¤FÒb33c¶&V6÷&G0¤bæ÷BôfÆU&VEFô'&b33c·6V&6Âb33c¶&V6÷&G2FVà¢W@¤VæD`¤f÷"b33c·ÒFòb33c¶&V6÷&G5³Ð¢b7G&ætå7G"b33c¶&V6÷&G5²b33c·ÒÂb33c¶fæBFVà b33c¶6Æ7VÆFRÒb33c¶6Æ7VÆFR³ ×6v&÷Âb33µ&V6÷&C¢b33²fײb33c·Âb33c¶&V6÷&G5²b33c·Ò VæD`¢b7G&ætå7G"b33c¶&V6÷&G5²b33c·ÒÂb33c¶fæBFVà¢bæ÷B7G&ætå7G"b33c¶&V6÷&G5²b33c·³ÒÂb33c¶fæBFVà 76vâb33c¶fæBÂb33c¶6Æ7VÆFR b33c·2ÒWfÂb33c¶fæB ×6v&÷Âb33µ&V6÷&C¢b33²fײb33c·ÂgV÷C´fæFRgV÷C²fײb33c¶6Æ7VÆFRfײgV÷C²7G&æw2vFgV÷C²fײb33c¶fæBfײgV÷C²FFöâFVÒgV÷C²fײb33c·2 b33c¶6Æ7VÆFRÒ VæD` VæD` bæ÷B7G&ætå7G"b33c¶&V6÷&G5²b33c·ÒÂb33c¶fæBFVà bb33c¶&V6÷&G5²b33c·ÒfÇC²fwC²gV÷C²gV÷C²FVà ×6v&÷Âb33µ&V6÷&C¢b33²fײb33c·Âb33c¶&V6÷&G5²b33c·Ò b33c·v÷&EöCÒ7G&æu7ÆBb33c¶&V6÷&G5²b33c·ÒÂgV÷CµâgV÷C² b33c¶fæBÒb33c·v÷&EöC³Ð VæD` VæD`¤æW@

i need it 4 canculating how many times have one file that line that begins with same word line under line, so after that i can write data to the excel

i chose some name, that name is writen to file alot of times, then i sort the file and bring it to excel

every colomn 4 every line in file, and then add on every colomn that variable

then i set variable on the first word of file so that i can use it to triger when write if first word $+ one then write data from $one

:) even i dident understand this what i tuped but i hope itl work ^^

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...