Page 1 of 1

Merging arrays [POL097 2006-10-18]

Posted: Thu Oct 19, 2006 2:04 pm
by Developer Silver
With previous POL core, a function returning something like {gump_layout, gump_data} means that I have a bidimensional array like:
{ {"page 0", "nodispose", "text 50 50 30 0"}, {"Test page"} }

Now the 2 array are merged togheter this way:
{ "page 0", "nodispose", "text 50 50 30 0", "Test page" }

It's a feature or a bug? ;)
In first case, I'll have to rewrite a lot of functions... :(

Posted: Thu Oct 19, 2006 3:43 pm
by qrak
Yes its very annoying. I have problems with reputation system on my shard because of that.

Posted: Thu Oct 19, 2006 6:51 pm
by CWO
concating should make them into one array not an array of arrays...

Posted: Thu Oct 19, 2006 8:40 pm
by Austin
Will work on a fix tonight. Its related to the += 'fix' ... that fixed one thing and broked another part I forgot about.

Posted: Fri Oct 20, 2006 6:31 pm
by Austin
Okay all fixed, will fix a few other issues then ask Shini to put out a new build.

Posted: Wed Oct 25, 2006 11:05 pm
by Developer Silver
Ok, now it works well :) thanks guys! :D

(I've downloaded new core before you posted it! :P )