[Gambas-user] 2D arrays

Jussi Lahtinen jussi.lahtinen at ...626...
Wed Sep 5 19:06:42 CEST 2012


Is this bug?

Private Sub ArrayTest(iArr As Array)

  Print Object.Type(iArr)
  Print iArr[1, 1]  *<-- This gives "Not an array".*

End

Public Sub Button1_Click()

  Dim iArray As New Integer[10, 10]

  Print Object.Type(iArray)

  ArrayTest(iArray)

End


Jussi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ArrayBug-0.0.1.tar.gz
Type: application/x-gzip
Size: 4713 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20120905/6bd9d29f/attachment.bin>


More information about the User mailing list