Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 21:12

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Variable in Variable

Discussion on Variable in Variable within the AutoIt forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2011
Posts: 270
Received Thanks: 44
Variable in Variable


hab selber eine lösung gefunden=
Code:
#include <FileConstants.au3>
$NameVar = "Ordner2"
$PathVar = "C:\test\" & $NameVar
DirCreate($PathVar)
DirCopy("C:\test\BOT15", $PathVar, $FC_OVERWRITE)
falls jemand einen besseren Vorschlag hat. her damit
md88 is offline  
Old 08/05/2016, 02:31   #2
 
elite*gold: 32
Join Date: Dec 2015
Posts: 2,275
Received Thanks: 1,113
Kann man nicht besser machen.

Außer $NameVar und $PathVar sind sozusagen das gleiche also ist das seperatieren der Variable unnötig.
FlyffServices is offline  
Thanks
1 User
Old 08/09/2016, 16:40   #3


 
Lawliet's Avatar
 
elite*gold: 2
Join Date: Jul 2009
Posts: 14,456
Received Thanks: 4,685
#closed
Lawliet is offline  
Closed Thread


Similar Threads Similar Threads
Variable
06/10/2011 - General Coding - 5 Replies
Moin, Nur eine kleine frage uber ne c# variable also: Ich hab mehere form's in meine programm und will eine string deklarieren fuer das ganze programm. Ich hab es so gemacht : public string user = "Username"
Cost of accessing a casted variable vs. assigning the casted variable? (C#)
01/05/2011 - CO2 Programming - 5 Replies
I know that in unmanaged C++, casting is at compile-time, so it's better to avoid the assignment and simply access it for all instances. However, in C#, I have no idea since I'm pretty new to it.
Variable ?!
11/27/2010 - AutoIt - 14 Replies
Huhu E*PvP :) Ich habe mal wieder eine frage :D.. mir wurde ja schon öfters gesacht das ich meinen source "Besser gestalten soll". Also dachte ich mir mhm ok..! und ich wollte wissen wie ..am also ..og >_<
Überprüfen ob Variable Eine Variable ist
10/16/2010 - AutoIt - 26 Replies
Hey leute ich wollte fragen ob/wie man überprüfen kann ob eine Variable eine Variable ist z.b. so $k = 1 $i = $k if $i = VARIABLE Then msgbox(0,'$i ist eine variable!!','') endif PS:Wp releast man nochma TuT (z.b. für metin2??)
How do I add a variable
08/21/2009 - CO2 Private Server - 4 Replies
Couldn't find a guide when I searched. I want to make a variable so it will check how many times the player has already used unknown man. I know how to use the variable, but just don't know how to make it. Oh yea this is LOTF



All times are GMT +1. The time now is 21:13.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.