help ..
#1

Код:
if(y % 100 !=0 or y % 400 == 0) Luna[2] = 29;
Quote:

error :
error 001: expected token: ")", but found "-identifier-"
error 017: undefined symbol "or"
error 001: expected token: ";", but found ")"
fatal error 107: too many error messages on one line

Reply
#2

there's no operator in pawn called "or"
it's || for "or"
so it will be
Код:
if(y % 100 != 0 || y % 400 == 0) Luna[2] = 29;
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)