Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 18:39

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

Advertisement



Hilfe bei Variable

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

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2013
Posts: 27
Received Thanks: 9
Unhappy Hilfe bei Variable

Hallo liebe Community,

ich habe ein Problem nämlich möchte ich in Autoit eine Datei in Parametern auslesen lassen diese bestimmt aber die Datei.
Also hab ich das versucht.
Code:
For $i = 0 to 100
    if $String_data[$i] = "Enddata" Then
        $Strin_data_max = $String_data[$i]
    Endif
next
kommt immer ein Error raus würde mich über Hilfe freuen.
Kirajashi is offline  
Old 08/19/2013, 16:18   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Die Variable $Strin_data_max existiert in dem Snippet nicht. Außerdem hast du es eventuell falschgeschrieben, weil da $String und nicht $String steht?

Du könntest aus dem 3 Zeilen einen einzeiligen If-Statement machen, bsp.-weise:
Code:
If $String_data[$i] = "Enddata" Then $String_data_max = $String_data[$i]
alpines is offline  
Old 08/19/2013, 17:02   #3
 
Croco™'s Avatar
 
elite*gold: 235
Join Date: Jan 2012
Posts: 920
Received Thanks: 377
Was besagt denn der Error ?
An sich ist an dem Code schnipsel nichts Falsch, aber im Kontext könnte natürlich etwas nicht passen !
Croco™ is offline  
Reply


Similar Threads Similar Threads
[Brauche Hilfe]konvertierung WinApi Variable
01/16/2013 - General Coding - 0 Replies
Hallo an alle ich suche eine möglichkeit in C++ einen std::string zu einer Winapi Variablen namens LPSTR zu konvertieren. Mein problem besteht darin,dass ich die CreateProcess() Funktion der Winapi benutzen möchte.Das hat bisher auch immer geklappt habe es so gehandhabt bis jetzt : PROCESS_INFORMATION pi; STARTUPINFO si; ZeroMemory(&si,sizeof(STARTUPINFO)); si.cb = sizeof(STARTUPINFO); CreateProcess(NULL,TEXT("Dateiname.exe") , NULL, NULL, TRUE, 0, NULL, NULL, &si,...
[PHP][HILFE]Variable über 2 Seiten transportieren
03/13/2012 - Web Development - 13 Replies
Hey Com, ich hab ein Problem... ich will eine Eingabe von einem Formular über 2 Seiten weiterleiten. Also das heißt: Index.php(da wo das Formular ist)->2.Seite.php->3.Seite.php-> Auslesen der eingabe des Formulares Ich bekomms irgentwie nicht hin die Variable über die 2 Seiten zu schicken..
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??)



All times are GMT +1. The time now is 18:41.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.