bool:char arrays in enums
#1

pawn Код:
enum E_TEST
{
    bool:boolTest[50 char]
}

new PD[E_TEST];

public OnFilterScriptInit()
{
    PD[boolTest]{0} = false; // Line from which errors originate
    return 1;
}
Quote:

warning 215: expression has no effect
error 001: expected token: ";", but found "{"
warning 215: expression has no effect
error 001: expected token: ";", but found "}"
warning 217: loose indentation
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Is is not possible to use char-arrays in enums?
Reply


Messages In This Thread
bool:char arrays in enums - by MP2 - 26.04.2013, 14:07
Re: bool:char arrays in enums - by Djole1337 - 26.04.2013, 14:14
Re: bool:char arrays in enums - by Lordzy - 26.04.2013, 14:19
Re: bool:char arrays in enums - by MP2 - 26.04.2013, 14:48
Re: bool:char arrays in enums - by MP2 - 26.04.2013, 15:26

Forum Jump:


Users browsing this thread: 1 Guest(s)