SA-MP Forums Archive
Question.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Question.. (/showthread.php?tid=110198)



Question.. - RyDeR` - 25.11.2009

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

Waiting for answers. Thanks anyway.


Re: Question.. - Blunts - 25.11.2009

Ummmm... what?!


Re: Question.. - westre - 25.11.2009

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


Re: Question.. - Donny_k - 25.11.2009

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.



Re: Question.. - RyDeR` - 25.11.2009

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?


Re: Question.. - Joe Staff - 25.11.2009

It's in the wiki.

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