Thread
:
[SP]| somevar != someconst ? return -7 : null | and got invalid expresion
View Single Post
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
12-05-2015 , 23:28 Re: [SP]| somevar != someconst ? return -7 : null | and got invalid expresion
#
2
PHP Code:
int num
= (
somevar
!=
someconst
? -
7
:
0
)
if (
num
)
return
num
;
Last edited by Mathias.; 12-05-2015 at
23:28
.
Mathias.
View Public Profile
Send a private message to Mathias.
Visit Mathias.'s homepage!
Find More Posts by Mathias.