AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   #pragma semicolon 1 (https://forums.alliedmods.net/showthread.php?t=114052)

lolumad 01-01-2010 14:35

#pragma semicolon 1
 
What this does?

Code:



#pragma semicolon 1


YamiKaitou 01-01-2010 14:50

Re: #pragma semicolon 1
 
-.-

Lure.d 01-01-2010 16:19

Re: #pragma semicolon 1
 
Found a crab for you Yami :crab: .
Crap, one is trying to pop on my head :D

Dygear 01-02-2010 20:27

Re: #pragma semicolon 1
 
It requires the semicolon at the end of each line that is not a control structure.

One 01-02-2010 22:55

Re: #pragma semicolon 1
 
omq. i tough i'm up2date :) he has now 49 ;)

sig. updated :D

Arkshine 01-03-2010 04:51

Re: #pragma semicolon 1
 
How is related to the topic ?

kikifrh 01-03-2010 13:10

Re: #pragma semicolon 1
 
I found this
Quote:

All this does...

Code:
#pragma semicolon 1


is make it so that the complier will force you to put a ; at the end of each line of code.

This does nothing to the actual coding of the plugin, but helps a lot when trying to debug compiling errors.

There is nothing wrong with doing it either way... its a matter of personal perfrence.
I think is the best answer
P.S: lol nice link yami :lol:
Edit:xD


fysiks 01-03-2010 13:19

Re: #pragma semicolon 1
 
Quote:

Originally Posted by kikifrh (Post 1041595)
I found thisI think is the best answer
P.S: lol nice link yami :lol:
Edit:http://lmgtfy.com/?q=Yami+found+other+crab+:D]Yupi[/url]

Wow, you are way late. The question was answered a couple days ago.

kikifrh 01-03-2010 13:20

Re: #pragma semicolon 1
 
I'm not using this forum too much now :D
(edited previous post xD)


All times are GMT -4. The time now is 04:16.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.