Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Delphi] Problem mit Funktion

Empfohlene Antworten

Veröffentlicht

Moin,

hab ein altes Delphi Programm gefunden und krieg leider ne Fehlermeldung wenn ich es kompilieren will.

Code is(Stelle an der Fehler auftritt is markiert):

var

i, j, t, swapbyte: BYTE;

x: WORD;

begin

i:= FI; j:= FJ;

Reset(OutputFile, 1); // Und hier kommt auch schon der Fehler

FI := i;

FJ := j;

end;

Fehler: Undefinierter Bezeichner OutputFile. Is ja klar is ja nirgends deklariert. Frage is jetz nur wie krieg ich die Rübe zum laufen ?

Hab noch ne Exe die aus dem Code hervorgeht. Zum besseren Verständnis wollte ich die mit Breakpoints mal "durchackern", nur leider krieg ich den Code halt nicht zum laufen.

Wäre super wenn mir jemand helfen könnte.

Gruß

LinuxNewb

<edit>Threadtitel um die Programmiersprache ergänzt, grueni </edit>


 var

  i, j, t, swapbyte: BYTE;

  x: WORD;

  [COLOR="Red"]OutputFile: File;[/COLOR]


 begin

  i:= FI; j:= FJ;


 Reset(OutputFile, 1);  


  FI := i;

  FJ := j;

 end;


Ich denke aber, dass OutputFile woanders deklariert werden muss, weil hier, außer dem Öffnen, nichts damit gemacht wird.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.