Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Record Arrays
#2
If you add `Optiion _Explicit` to your program you might realize what the issue is Smile

Your input lines should be using names similar to `MotorradMarken(satzNummer).Modell` for each line, so that the input is read into the array entries. With what you have right now, `Motorrad.Modell` is just treated like the name of a regular variable and QB64 simply creates the `Motorad.Modell` variable for you with the default `Single` type, completely separate from the array you declared.
Reply


Messages In This Thread
Record Arrays - by Kernelpanic - 07-01-2024, 08:34 PM
RE: Record Arrays - by DSMan195276 - 07-01-2024, 08:48 PM
RE: Record Arrays - by TerryRitchie - 07-01-2024, 09:42 PM
RE: Record Arrays - by bplus - 07-01-2024, 09:00 PM
RE: Record Arrays - by Kernelpanic - 07-01-2024, 10:13 PM
RE: Record Arrays - by Jack - 07-01-2024, 10:37 PM
RE: Record Arrays - by Kernelpanic - 07-02-2024, 05:53 PM



Users browsing this thread: 1 Guest(s)