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.

procedure oder function

Empfohlene Antworten

Veröffentlicht

Hi Leute, ich hab die Aufgabe ein c++ Programm auf delphi um zu schreiben, mein Problem ist das ich nicht weiß wa man statt ein #define in c++ in delphi verwendet, eine procedure oder eine function.

Also der c++ code sieht so aus:

#define NO_ENTRY( array ) ( sizeof( array ) / sizeof( array[ 0 ] ) )

Wie würde so was in Delphi aussehen??:confused:

LG und danke für jede Hilfe

Dieses Makro ermittelt die Anzahl der Elemente eines Arrays. In Delphi gibt es dafür eine fertige Funktion: Length.

Um deine Frage allgemein zu beantworten: Kommt drauf an ;)

Du musst dir ansehen, wie das Makro benutzt wird. Wenn das Makro einen Ausdruck erzeugt, dessen Wert benutzt wird, brauchst du eine Funktion. Wenn nicht, eine Prozedur.

Hi danke dir hat mir echt weitergeholfen.

LG

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.