Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
suggestion: initialize array values within the DIM statement
#17
Here is the high school crap! For example Option Base 1:  Tongue

PS: So it is clearer:

Code: (Select All)
'Option Base Beispiel - 21. Dez. 2022

Option Base 1
Option _Explicit

Dim As String jahresMonate(12)
Dim As Integer monat

Data Januar,Februar,Maerz,April,Mai,Juni
Data Juli,August,September,Oktober,November,Dezember

For monat = 1 To 12
  Read jahresMonate(monat)
  Print Using "Monat ##. "; monat;
  Print jahresMonate(monat)
Next monat

End
Reply


Messages In This Thread
RE: suggestion: initialize array values within the DIM statement - by Kernelpanic - 12-21-2022, 10:41 PM



Users browsing this thread: 2 Guest(s)