mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
- Updated sample file.
This commit is contained in:
@@ -8,11 +8,17 @@
|
|||||||
#define PI 3.1415
|
#define PI 3.1415
|
||||||
|
|
||||||
#if PI == 4
|
#if PI == 4
|
||||||
DoStuff()
|
|
||||||
|
#define G 5
|
||||||
|
|
||||||
#elif PI == 3
|
#elif PI == 3
|
||||||
DoOtherStuff()
|
|
||||||
|
#define I 6
|
||||||
|
|
||||||
#else
|
#else
|
||||||
DoNothing()
|
|
||||||
|
#define K 7
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@@ -77,3 +83,5 @@ var/list/NullList = null
|
|||||||
world.log << "PI is [CONST_VARIABLE]!"
|
world.log << "PI is [CONST_VARIABLE]!"
|
||||||
else
|
else
|
||||||
world.log << "PI is approximety [pi]"
|
world.log << "PI is approximety [pi]"
|
||||||
|
|
||||||
|
#undef PI // Undefine PI
|
||||||
Reference in New Issue
Block a user