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.

Globales Array - kann doch nicht so schwer sein!?

Empfohlene Antworten

Hi alle!

Wie zum Henker bekomme ich eine Array-Deklaration so hin, dass ich es in zwei Klassen ansprechen kann?

Sollte kein Problem sein? Falsch, denn egal wie ich es mache ist es irgendwie verkehrt :(. Auch nach 20x googlen und einer Suche, die sich nicht nur auf dieses Forum erstreckt, kein vernünftiges Ergebnis. Ich glaub ich denke nicht trivial genug ;)

Hier zwei meiner Versuche:

Public artikeldaten() as Variant

' in der ersten Funktion wo es gebraucht wird - läuft gar nicht
Dim artikeldaten() as Variant

' im Modulkopf - läuft, kann aber ausserhalb nicht angesprochen werden

mh also ich mach ja für globale Variablen n neues Modul auf und schreib die dann da rein...


Option Explicit


Global artikeldaten() as Variant

... und bis jetzt hat das auch immer geklappt ;)

Hmm... Danke! :D

So klappts.

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.