Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   v4.1 not returning properly (https://forums.graalonline.com/forums/showthread.php?t=67774)

Yen 07-31-2006 10:01 PM

v4.1 not returning properly
 
I have a function that sorts through strings and returns an array containing the ones with the highest value (two or more may share the highest value).
However, it always returns '0' when it's called on someone using v4.1.
I debugged them, and everything went properly. The end result, which should have been returned, was the proper string. However, like I said, 0 was returned.

Is there any way around this?

Yen 07-31-2006 10:09 PM

Okay, it seems 4.1 can't return arrays with only one member.
I had tried returning it as a string if there's only one member, but I forgot you have to restart Graal to update a client-joined class.

My bad.

calani 08-01-2006 04:03 AM

Yes, 4.1 has a lot of annoying bugs.
(showpoly comes to mind)


All times are GMT +2. The time now is 08:19 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.