Checking type of ENUM variable
#1

Checking type of ENUM variable

Here is my code:
Code:
Код:
if(tagof(g_ServerInfo[E_SERVER_DATA:5]) == tagof(Float:))
I can't see any problem here but here is the error:
Quote:

X(965) : error 001: expected token: "]", but found "-label-"
X(965) : warning 221: label name "E_SERVER_DATA" shadows tag name
X(965) : warning 215: expression has no effect
X(965) : error 001: expected token: ";", but found "]"

What is the problem?
Reply
#2

I don't see the purpose of this check it seems absolutely useless.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)