Free Hero Mesh class definition file
(Created page with "{{FormatInfo |formattype=electronic |subcat=Game data files |extensions={{ext|class}} }} Category:Programming Languages A Free Hero Mesh puzzle set consists of four files...") |
(Mention the character encoding of this file) |
||
Line 9: | Line 9: | ||
This file is a plain text file, with a somewhat [[Lisp]]-like format, describing the classes of objects, their attributes, and the code to implement their behaviours; however, the code implementing behaviours is stack-based, like [[Forth]] or [[PostScript]]. It also includes a macro preprocessor. | This file is a plain text file, with a somewhat [[Lisp]]-like format, describing the classes of objects, their attributes, and the code to implement their behaviours; however, the code implementing behaviours is stack-based, like [[Forth]] or [[PostScript]]. It also includes a macro preprocessor. | ||
+ | |||
+ | The character encoding is normally the PC character encoding ([[CP437]]); however, it is possible to declare the use of other IBM PC code pages other than 437 as well (see [[MS-DOS encodings]]). The <code>(CodePage)</code> block specifies the number of the code page to use; if it is omitted, then 437 is assumed by default. |
Revision as of 02:36, 7 May 2021
A Free Hero Mesh puzzle set consists of four files; this article is about the .class file, which contains the program codes implementing the rules of the game.
This file is a plain text file, with a somewhat Lisp-like format, describing the classes of objects, their attributes, and the code to implement their behaviours; however, the code implementing behaviours is stack-based, like Forth or PostScript. It also includes a macro preprocessor.
The character encoding is normally the PC character encoding (CP437); however, it is possible to declare the use of other IBM PC code pages other than 437 as well (see MS-DOS encodings). The (CodePage)
block specifies the number of the code page to use; if it is omitted, then 437 is assumed by default.