thanks both of you.

as I said I can make workarounds, e.g. I use mainly for filling an array with bytes something similar to what Sid wrote in your 1st post. the type branching was my another idea to fix overloading problems, or using _char/_short/... ending at function names is also fine.

I also wanted to make something similar to the one utilizing a struct to store necessary array information, but my more basic solution currently satisfies my needs and easy enough to be used by beginners, and not planned to spend too much time with it. I just really need array rotation and element addition, which works fine.

basically, I just have not understood the strange overloading phenomena...


Free world editor for 3D Gamestudio: MapBuilder Editor