Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quesiton on Dimensioning an Array
#2
(02-05-2024, 04:30 PM)Dimster Wrote: Where I have 3 different arrays with the following Dimensions

Dim Array1(1 To 0)
Dim Array2(1 To 1)
Dim Array3(0 To 1)

Is that middle Array2 the same as Dim Array2(0) or would it be the same as Dim Array2(1)? 
Thanks

No and No

try this, take lbound and ubound for each array up there and see the difference!
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Messages In This Thread
Quesiton on Dimensioning an Array - by Dimster - 02-05-2024, 04:30 PM
RE: Quesiton on Dimensioning an Array - by bplus - 02-05-2024, 06:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  getting the number of dimensions in an array on the fly? madscijr 7 749 09-16-2025, 12:34 AM
Last Post: madscijr
  ARRAY declaration in GOSUB routines. bartok 19 3,271 02-05-2024, 06:56 PM
Last Post: bplus
  Array in an array NasaCow 78 15,763 04-12-2023, 10:53 AM
Last Post: TempodiBasic
  Can images be read from a file into an array? PhilOfPerth 11 2,562 02-17-2023, 03:31 AM
Last Post: TerryRitchie
  Swapping array elements PhilOfPerth 24 3,946 11-19-2022, 12:16 AM
Last Post: Pete

Forum Jump:


Users browsing this thread: 2 Guest(s)