Array Copy Stock
1 Attachment(s)
I made this the other day because I could not find one. Maybe someone else will need it. It will copy data from one array to another for a max length of cells and you're able to set starting positions. If someone sees optimization errors or has any other, better, ideas feel free to edit/comment.
Code:
/** |
Re: Array Copy Stock
So you don't need to cast anything with that stock ?
|
Re: Array Copy Stock
I don't think so. Does pawn have an instanceof operator? Like to verify one bar type == another.
|
Re: Array Copy Stock
Technically Pawn is typeless but what he is refering to is tags matching up.
|
Re: Array Copy Stock
I know it's typeless. So a tags instanceof operator was what I was referring to.
|
Re: Array Copy Stock
You could just tag both into and from as any and you won't get any tag mismatches.
|
Re: Array Copy Stock
Quote:
|
Re: Array Copy Stock
Quote:
|
Re: Array Copy Stock
Quote:
|
Re: Array Copy Stock
Quote:
|
All times are GMT -4. The time now is 03:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.