View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-10-2011 , 13:39   Re: Array Copy Stock
Reply With Quote #8

Quote:
Originally Posted by Tirant View Post
I'm also thinking that they should be the same type though. Like, if someone wanted to copy explicitly from a[5] into Float:b[5], there should be a tag mismatch there, so they should place the any tag when copying. So what I'm saying, is maybe there should be an error.
To correctly implement a tag mismatch error for a stock that can be used on multiple tags would require a function to detect the tag which doesn't exist (granted, it would be a preprocessor function).
__________________

Last edited by fysiks; 09-10-2011 at 14:18.
fysiks is offline