2019-09-02 21:22:07 +00:00
[< back to index ](../doc_index.md )
# Predefined constants
2021-01-13 18:35:11 +00:00
* `byte nullchar` – the null terminator for strings in the default encoding, equivalent to `""z[0]` , can be overriden by the `NULLCHAR` feature
* `byte nullchar_scr` – the null terminator for strings in the screen encoding, equivalent to `""scrz[0]` , can be overriden by the `NULLCHAR_SCR` feature
2019-09-02 21:22:07 +00:00
* `null$ nullptr` – the invalid pointer value; the value of the `NULLPTR` feature
* `bool true` , `bool false` – boolean constants
* `pointer segment.N.start` – the value of `segment_N_start` from the platform definition
2021-01-13 18:55:11 +00:00
* `pointer segment.N.codeend` – the value of `segment_N_codeend` from the platform definition
* `pointer segment.N.datastart` – the value of `segment_N_datastart` from the platform definition
2019-09-02 21:22:07 +00:00
* `pointer segment.N.end` – the value of `segment_N_end` from the platform definition
* `pointer segment.N.heapstart` – the address of the first byte in the `N` segment that was not automatically allocated
* `word segment.N.length` – the number of byte locations between `segment_N_start` and `segment_N_end` , inclusive
* `byte segment.N.bank` – the value of `segment_N_bank` from the platform definition
2021-01-13 18:55:11 +00:00
* `byte segment.N.fill` – the value of `segment_N_fill` from the platform definition
2021-11-12 01:10:07 +00:00
* `this.function` – the alias of the current function (in macros, it resolves to the actual non-macro function that called the macro)