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