Autor |
Beitrag |
AXMD
Beiträge: 4006
Erhaltene Danke: 7
Windows 10 64 bit
C# (Visual Studio 2019 Express)
|
Verfasst: Sa 04.12.04 20:57
GTA-Place hat folgendes geschrieben: | Gleich kommt die Frage:
"Wie bau ich den Code jetzt ein?" |
Oder alternativ: was machen diese runden klammern mit den ecken ^^
AXMD
|
|
GTA-Place
Beiträge: 5248
Erhaltene Danke: 2
WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
|
Verfasst: Sa 04.12.04 21:04
Du glaubst doch net, dass der das jetzt abschreibt...
Der kopiert das ganze jetzt und fügts ein...
Gibt natürlich Fehlermeldungen und viele Fragen für uns...
Jede weitere Frage von Inzip kostet jetzt 1€ (Sonderpreis)
_________________ "Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
|
|
Christian S.
Beiträge: 20451
Erhaltene Danke: 2264
Win 10
C# (VS 2019)
|
Verfasst: Sa 04.12.04 21:05
Leute, jetzt beruhigt Euch mal wieder, ja? Ein bisschen mehr ontopic wäre nicht schlecht.
_________________ Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
|
|
Ben
Beiträge: 31
|
Verfasst: Sa 04.12.04 21:08
Ich hab das alles in eine Textdatei kopiert und sie in KI.exe umbenannt. Aber das funktioniert einfach nicht wenn ich das starten will
|
|
AXMD
Beiträge: 4006
Erhaltene Danke: 7
Windows 10 64 bit
C# (Visual Studio 2019 Express)
|
Verfasst: Sa 04.12.04 21:09
Gut: @Inzip: www.computerschach.d...in/minimax/index.htm
KI in Delphi - und Schach ist sicher hundertmal einfacher als menschliche Sprache
//EDIT: @Ben: weißt du etwa nicht, dass du selbst geschriebene Text-EXE-Dateien nur mit Wordpad öffnen kannst
AXMD
|
|
herzi
Beiträge: 168
WINXP pro, SUSE Linux 9.0
D7 Pers.
|
Verfasst: Sa 04.12.04 21:12
Ben hat folgendes geschrieben: | Ich hab das alles in eine Textdatei kopiert und sie in KI.exe umbenannt. Aber das funktioniert einfach nicht wenn ich das starten will |
Nicht dein Ernst oder ?
Ich enthalte mich jetzt diesem Topic......
Jetzt muss ich was trinken.
|
|
AXMD
Beiträge: 4006
Erhaltene Danke: 7
Windows 10 64 bit
C# (Visual Studio 2019 Express)
|
Verfasst: Sa 04.12.04 21:13
@Herzi: Du hast jetzt wohl nicht wirklich gemeint, dass Ben das ernst gemeint hat ?
AXMD
|
|
Inzip
Beiträge: 73
XP
Delphi
|
Verfasst: Sa 04.12.04 21:16
|
|
AXMD
Beiträge: 4006
Erhaltene Danke: 7
Windows 10 64 bit
C# (Visual Studio 2019 Express)
|
Verfasst: Sa 04.12.04 21:18
|
|
Inzip
Beiträge: 73
XP
Delphi
|
Verfasst: Sa 04.12.04 21:33
Titel: Stelle eine Frage - das ihr net sauer seit ich dann alles ;-
Also gibt es noch eine andere Varitante oder nicht *skript ist a wengel Crazy*
|
|
AXMD
Beiträge: 4006
Erhaltene Danke: 7
Windows 10 64 bit
C# (Visual Studio 2019 Express)
|
Verfasst: Sa 04.12.04 21:35
|
|
Inzip
Beiträge: 73
XP
Delphi
|
Verfasst: Sa 04.12.04 22:10
herzi hat folgendes geschrieben: |
Delphi-Quelltext 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28:
| function gibantwort(frage:String):String; var antworten: array of String; begin if frage='Wie geht es dir?' then begin setlength(antworten,6); antworten[0]:='Mir gehts sehr gut'; antworten[1]:='Mir gehts gut'; antworten[2]:='Es geht so'; antworten[3]:='Mir gehts nicht so gut'; antworten[4]:='Mir gehts schlecht'; antworten[5]:='Lass mich in Ruhe'; randomize(); result:=antworten[random(5)]; end else result:='Diese Frage versteh ich nicht'; end;
procedure TForm1.Button1Click(Sender: TObject); begin Showmessage(gibantwort('Wie geht es dir?')); end;
procedure TForm1.Button2Click(Sender: TObject); begin Showmessage(gibantwort('Alles klar ?')); end; | |
GEHT NCIHT - WER KÖNNET DAS MLA SCHON IN EINER FERTIGEN DATEI FÜR DELPHI MIR MAL GEBEN - HILFE ODER DAS KOMPLETTE SKRIPT HILFE
|
|
Narses
Beiträge: 10182
Erhaltene Danke: 1255
W10ent
TP3 .. D7pro .. D10.2CE
|
Verfasst: Sa 04.12.04 22:16
Titel: Masche?
Tach!
@Inzip: Kommt dir das hier nicht mittlerweise etwas komisch vor?
Meine Theorie: Das ist die neue Masche, uns die Hausaufgaben aus dem Kreuz zu leiern; solange dämlich nerven, bis sich einer nicht mehr beherrschen kann und das Ding eben schreibt, nur damit es endlich aufhört...
cu
Narses
|
|
Inzip
Beiträge: 73
XP
Delphi
|
Verfasst: Sa 04.12.04 22:22
Inzip hat folgendes geschrieben: | herzi hat folgendes geschrieben: |
Delphi-Quelltext 1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28:
| function gibantwort(frage:String):String; var antworten: array of String; begin if frage='Wie geht es dir?' then begin setlength(antworten,6); antworten[0]:='Mir gehts sehr gut'; antworten[1]:='Mir gehts gut'; antworten[2]:='Es geht so'; antworten[3]:='Mir gehts nicht so gut'; antworten[4]:='Mir gehts schlecht'; antworten[5]:='Lass mich in Ruhe'; randomize(); result:=antworten[random(5)]; end else result:='Diese Frage versteh ich nicht'; end;
procedure TForm1.Button1Click(Sender: TObject); begin Showmessage(gibantwort('Wie geht es dir?')); end;
procedure TForm1.Button2Click(Sender: TObject); begin Showmessage(gibantwort('Alles klar ?')); end; | | GEHT NCIHT - WER KÖNNET DAS MLA SCHON IN EINER FERTIGEN DATEI FÜR DELPHI MIR MAL GEBEN - HILFE ODER DAS KOMPLETTE SKRIPT HILFE |
DAS BITTE - SONST FLIPPE CIH AUS
|
|
Christian S.
Beiträge: 20451
Erhaltene Danke: 2264
Win 10
C# (VS 2019)
|
Verfasst: Sa 04.12.04 22:23
Hallo, inzip!
Ich finde das auch nicht gut, was Du hier abziehst. Dieses Forum ist nicht dazu da, dass Du Dir Quelltexte zusammen betteln kannst. Zeige mal ein bisschen Eigeninitiative, und damit ist nicht Copy & Paste gemeint.
In Deinem Profil steht unter Interessen "Programmieren". Irgendwie habe ich den Eindruck, das ist gelogen.
Christian
//edit: Und hör auf, hier rumzuschreien!!
_________________ Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
|
|
AXMD
Beiträge: 4006
Erhaltene Danke: 7
Windows 10 64 bit
C# (Visual Studio 2019 Express)
|
Verfasst: Sa 04.12.04 22:36
Christian S. hat folgendes geschrieben: | Ich finde das auch nicht gut, was Du hier abziehst |
Und wenn ich mir den Titel dieses Threads anschaue, glaube ich schön langsam nicht mehr, dass er die schwache Intelligenz von KI meint...
AXMD
|
|
jasocul
Beiträge: 6388
Erhaltene Danke: 146
Windows 7 + Windows 10
Sydney Prof + CE
|
Verfasst: Sa 04.12.04 22:57
Kann nicht mal ein Mod prüfen, ob sich da einer mit 'nem Zweit-Account angemeldet hat uns alle gehörig auf die Rolle nehmen will?
Ich kann nicht glauben, dass ein 15-jähriger ernsthaft so .... ist.
|
|
Inzip
Beiträge: 73
XP
Delphi
|
Verfasst: Sa 04.12.04 23:22
Christian S. hat folgendes geschrieben: | Hallo, inzip!
Ich finde das auch nicht gut, was Du hier abziehst. Dieses Forum ist nicht dazu da, dass Du Dir Quelltexte zusammen betteln kannst. Zeige mal ein bisschen Eigeninitiative, und damit ist nicht Copy & Paste gemeint.
In Deinem Profil steht unter Interessen "Programmieren". Irgendwie habe ich den Eindruck, das ist gelogen.
Christian
//edit: Und hör auf, hier rumzuschreien!! |
1. Ich Programmier derzeit in Profan 2. Ich kenne mich noch nicht so gut in Delphi aus d.h mir fällt noch die Visuale - Sicht 3. Könnt ihr mal das Skript mir mal komplett zeigen oder was soll ich als bei weiß machen ???
|
|
.Chef
Beiträge: 1112
|
Verfasst: Sa 04.12.04 23:27
Bist du eigentlich Legastheniker?
_________________ Die Antworten auf die 5 häufigsten Fragen:
1. Copy(), Pos(), Length() --- 2. DoubleBuffered:=True; --- 3. Application.ProcessMessages bzw. TThread --- 4. ShellExecute() --- 5. Keine Vergleiche von Real-Typen mit "="!
|
|
AXMD
Beiträge: 4006
Erhaltene Danke: 7
Windows 10 64 bit
C# (Visual Studio 2019 Express)
|
Verfasst: Sa 04.12.04 23:30
@Chef: Ist er wahrscheinlich nicht, aber er hat sichtlich schwere Probleme mit der deutschen Sprache.
AXMD
|
|