Enum/NormalVar
#7

Quote:
Originally Posted by iggy1
Посмотреть сообщение
Enums are often better to use because you can have different types like float or arrays. (yes i know PAWN is typless but you know what i mean). If your data is all one type use arrays/vars, if not use arrays of enums.
You can have different types like float or arrays without enums aswell.
pawn Код:
new Float:Var1, Var2[10], Var3;
You can use both, but is it true that enums take less memory?
Reply


Messages In This Thread
Enum/NormalVar - by Roko_foko - 13.07.2011, 17:59
Re: Enum/NormalVar - by Toreno - 13.07.2011, 18:08
Re: Enum/NormalVar - by Roko_foko - 13.07.2011, 18:16
Re: Enum/NormalVar - by iggy1 - 13.07.2011, 18:21
Re: Enum/NormalVar - by Toreno - 13.07.2011, 18:23
Re: Enum/NormalVar - by Trotty729 - 13.07.2011, 18:27
Re: Enum/NormalVar - by Roko_foko - 13.07.2011, 18:28
Re: Enum/NormalVar - by iggy1 - 13.07.2011, 18:35

Forum Jump:


Users browsing this thread: 2 Guest(s)