Difference between revisions of "Talk:ACS"
From DoomWiki.org
(link to category) |
|||
Line 2: | Line 2: | ||
Of course, technically ACS pre-dates doom's source code release (in Hexen), but it is still a 'new feature' to doom, and since that's the primary focus of this wiki, I think it belongs. -- [[User:Jdowland|Jdowland]] 18:59, 16 Jul 2005 (UTC) | Of course, technically ACS pre-dates doom's source code release (in Hexen), but it is still a 'new feature' to doom, and since that's the primary focus of this wiki, I think it belongs. -- [[User:Jdowland|Jdowland]] 18:59, 16 Jul 2005 (UTC) | ||
+ | |||
+ | |||
+ | |||
+ | "Note that a script is defined somewhat like a function in C, aside from the oddity that it does not have to be terminated after the bracket with a semicolon like all other statements." | ||
+ | |||
+ | This is also the case in C. Function definitions do not have semicolons after their closing brackets, and if a semicolon exists, it will be interpreted as an empty statement at the top level. Some reminders on function definitions vs declarations: [http://aelinik.free.fr/c/ch15.htm] [[User:71.58.109.233|71.58.109.233]] 21:09, 23 September 2007 (UTC) |
Revision as of 16:09, 23 September 2007
Category:New features
Of course, technically ACS pre-dates doom's source code release (in Hexen), but it is still a 'new feature' to doom, and since that's the primary focus of this wiki, I think it belongs. -- Jdowland 18:59, 16 Jul 2005 (UTC)
"Note that a script is defined somewhat like a function in C, aside from the oddity that it does not have to be terminated after the bracket with a semicolon like all other statements."
This is also the case in C. Function definitions do not have semicolons after their closing brackets, and if a semicolon exists, it will be interpreted as an empty statement at the top level. Some reminders on function definitions vs declarations: [1] 71.58.109.233 21:09, 23 September 2007 (UTC)