[Gambas-user] Can someone explain why this works?

nando nando_f at ...951...
Thu May 5 07:18:18 CEST 2011


Benoit,

Can you explain why this works and the reasoning behind it?
I would think there would be dimension issues on some lines


DIM i AS Integer, Text AS String[4, 4, 4, 4]

Text = ["Just", "test"]        '<--how to load Text with multi-dimension text

FOR i = 0 TO Text.Max
    PRINT Text[i]              '<--why does this not show bad dimensions error?
NEXT


-Fernando
  




More information about the User mailing list