Question..
#1

Hello, I have got a question.
Where is the '?' and the ':' chartcher for? (IN PAWNO LANGUAGE PLEASE)

Waiting for answers. Thanks anyway.
Reply
#2

Ummmm... what?!
Reply
#3

A punctuation mark (?) placed at the end of a sentence to indicate a question.
Reply
#4

It's like an 'if' statement basically.

pawn Код:
if ( blah == 43 ) return true;
else return false;
pawn Код:
return ( ( blah == 43 ) ? true : false );
Maybe slightly different syntax, I've not used that for ages.
Reply
#5

Quote:
Originally Posted by WESTre
A punctuation mark (?) placed at the end of a sentence to indicate a question.
Very funy, ROFL.

Quote:
Originally Posted by Donny
It's like an 'if' statement basically.

pawn Код:
if ( blah == 43 ) return true;
else return false;
pawn Код:
return ( ( blah == 43 ) ? true : false );
Maybe slightly different syntax, I've not used that for ages.
Thanks but still not understand a bit.. Can you give more info please? And also where is the ':' for?
Reply
#6

It's in the wiki.

https://sampwiki.blast.hk/wiki/Control_Structures#.3F:
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)