Thread
:
Array Copy Stock
View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
09-10-2011 , 13:39 Re: Array Copy Stock
#
8
Quote:
Originally Posted by
Tirant
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)
.
__________________
Polymorph
,
GitHub
Last edited by fysiks; 09-10-2011 at
14:18
.
fysiks
View Public Profile
Send a private message to fysiks
Find More Posts by fysiks