[07 Oct 2010] Unpack way of work or bug ???
Posted: Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on 07 Oct 2010 00:04:50 +0200
Hi ALL! I noticed that Unpack() function stops "unpacking" when it found a Nil value.. So Tables with some Nil spaces wasnt displayed correctly but only for the first n-fields that wasnt the first Nil that stops the output...
For example:
outputs:
1 5 7 8
and not show the other values... On the guide no reference to that behaviour so I think that was a bug... I'm wrong?
Hi ALL! I noticed that Unpack() function stops "unpacking" when it found a Nil value.. So Tables with some Nil spaces wasnt displayed correctly but only for the first n-fields that wasnt the first Nil that stops the output...
For example:
Code: Select all
foo = {1, 5, 7 , 8, Nil, 56, 78, 43, 5, 6, Nil, 467, 34, 56, 897, 34}
DebugPrint(Unpack(foo))
1 5 7 8
and not show the other values... On the guide no reference to that behaviour so I think that was a bug... I'm wrong?