2d array with different value types
#1

Hi all,

I need to create a 2d array with different variable types within it. That doesn't really explain what Im trying to do very well, but hopefully my attempt below may describe what im trying to do.

Код:
//I want an array which has both and integer value and a string value inside of it. 
myArray[0] =>[0]=>1
myArray[0] =>[1]=>"This string"

myArray[1] =>[0]=>2
myArray[1] =>[1]=>"Another string"
I know the above isn't PAWN code obviously, however I hope you can see the jyst of what I want.

Thanks in advance for any help.
Reply


Messages In This Thread
2d array with different value types - by Jonesy96 - 09.07.2016, 22:25
Re: 2d array with different value types - by SickAttack - 09.07.2016, 22:34
Re: 2d array with different value types - by paulommu - 09.07.2016, 22:48
Re: 2d array with different value types - by Gammix - 09.07.2016, 22:51

Forum Jump:


Users browsing this thread: 1 Guest(s)