This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
parsermonster_constants [2014/08/18 21:41] Mitch created |
parsermonster_constants [2015/08/15 17:26] (current) Mitch |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ParserMonster Constants ====== | ====== ParserMonster Constants ====== | ||
| + | [[cleanup!]] | ||
| + | ParserMonster constants are names of several types of data: | ||
| + | - Unchanging values, such as the current version | ||
| + | - Special values that may change, such as the date | ||
| + | - Flags that may be set to either true or false | ||
| - | ParserMonster constants | + | ParserMonster |
| You can add your own constants to the application. Create a text file and add the constants, one per line: | You can add your own constants to the application. Create a text file and add the constants, one per line: | ||
| - | [code] | + | <code> |
| $MyFirstConstant=MyName@MyEmail.com | $MyFirstConstant=MyName@MyEmail.com | ||
| - | |||
| $ModifiedLongTime= | $ModifiedLongTime= | ||
| - | [/code] | + | </code> |
| - | Save the file with any name you wish, as long as it begins with **cx-** and ends with the **.txt** extension | + | Save the file with any name you wish, as long as it begins with **cx-** and ends with the **.txt** extension. Make sure it is in the same folder as the application. [[devnote_datafolders]] |
| The next time you launch your application, | The next time you launch your application, | ||
| see: [[listofcommands|List of Commands]] [[listofdirectives|List of Directives]] [[listofflags|List of Flags]] | see: [[listofcommands|List of Commands]] [[listofdirectives|List of Directives]] [[listofflags|List of Flags]] | ||