Autor Beitrag
kronoide
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 51



BeitragVerfasst: Mi 24.01.07 21:05 
Hallo erstmal :wave:

ich würde gerne wissen ob man programme ohne form erstellen kann
und wenn es geht bitte ein beispiel.

danke schonmal :D
Grenzgaenger
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 24.01.07 21:07 
yep.

beispiel? hier:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
program Project1;

{$APPTYPE CONSOLE}

uses
  SysUtils;

function foo: integer;
begin
 ; //tue was
end;

var
 i: integer;
begin
 ; //tue was
end.
kronoide Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 51



BeitragVerfasst: Mi 24.01.07 21:11 
entschuldige die dumme frage aber wie schreibe ich es da rein denn
wenn ich es da reinschreibe gibt er mir ein fehler zurück
Saubäär
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 376



BeitragVerfasst: Mi 24.01.07 21:13 
In Delphi: Datei > Neu > Konsolen-Anwendung
kronoide Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 51



BeitragVerfasst: Mi 24.01.07 21:16 
ja das dürfte hinkommen...
danke :wink:
kronoide Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 51



BeitragVerfasst: Mi 24.01.07 21:18 
kann ich eigentlich auch dem Eingabefenster einen Namen geben?
Grenzgaenger
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 24.01.07 21:32 
hier hast du kein eingabefenster, folglich kannst du keinen namen vergeben. aber du kannst z.b. infoboxen ausgeben... wenn du lust und laune hast.
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mi 24.01.07 21:39 
Oder als Alternative zur Konsolenanwendung (da du ja schreibst, dass du keine Form willst), kannst du in der dpr- DAtei auch einfach
Application.ShowMainForm := false;hinzufügen

Gruß alias5000

_________________
Programmers never die, they just GOSUB without RETURN