Array com Indice com tipo diferente ("String")
#5

Quote:
Originally Posted by Luнs Miki
Посмотреть сообщение
Sim, й que eu sei PHP e to me 'desconfortando' em pwn.

Tipo, PHP jб cria a var sу de vocк dar o valor e no pwn, nуs temos o format :/
Ah entendo, desculpe, pensei que vocк estivesse falando sobre igualar variбveis com arrays б texto como no exemplo abaixo:

pawn Код:
new X[20];

X[4] = "LOOOL"; //Isso nгo pode, poderia se fosse X = "LOOOL";
Mas vocк deve estar falando sobre criar uma variбvel com array jб com valor de string certo ? Isso pode , veja:

pawn Код:
new Exemplo[100] = "Tб vendo isso aqui? :O";
Acima a variбvel tem valor igual б string ao seu lado, como se vocк estivesse dado um format.


Espero ter ajudado
Reply


Messages In This Thread
Array com Indice com tipo diferente ("String") - by steki. - 21.02.2011, 22:13
Re: Array com Indice com tipo diferente ("String") - by steki. - 21.02.2011, 22:28
Re: Array com Indice com tipo diferente ("String") - by rjjj - 22.02.2011, 03:09
Re: Array com Indice com tipo diferente ("String") - by steki. - 22.02.2011, 14:44
Re: Array com Indice com tipo diferente ("String") - by rjjj - 22.02.2011, 16:04

Forum Jump:


Users browsing this thread: 2 Guest(s)