mirror of
https://github.com/KarolS/millfork.git
synced 2024-12-23 08:29:35 +00:00
Docs: Fix some typos
This commit is contained in:
parent
05c017e375
commit
96b020ce62
@ -138,7 +138,7 @@ Default: 4 if targeting a 6502-based architecture, 0 otherwise.
|
||||
|
||||
* `-fdecimal-mode`, `-fno-decimal-mode` –
|
||||
Whether hardware decimal mode should be used (6502 only).
|
||||
If disabled, a sofware decimal mode will be used.
|
||||
If disabled, a software decimal mode will be used.
|
||||
`.ini` equivalent: `decimal_mode`.
|
||||
Default: no if targeting Ricoh, yes otherwise.
|
||||
|
||||
|
@ -21,7 +21,7 @@ It is not allowed in any other places.
|
||||
|
||||
String literals can be used as either array initializers or expressions of type `pointer`.
|
||||
|
||||
String literals are equivalent to constanr arrays. Writing to them via their pointer is undefined behaviour.
|
||||
String literals are equivalent to constant arrays. Writing to them via their pointer is undefined behaviour.
|
||||
|
||||
If a string literal is used as an expression, then the text data will be located in the default code segment,
|
||||
regardless of which code segment the current function is located it. This may be subject to change in future releases.
|
||||
@ -97,7 +97,7 @@ You can create a constant of a given struct type by listing constant values of f
|
||||
point(5,6)
|
||||
|
||||
|
||||
## Array initialisers
|
||||
## Array initializers
|
||||
|
||||
An array is initialized with either:
|
||||
|
||||
|
@ -94,7 +94,7 @@ Encoding | lowercase letters | backslash | pound | yen | katakana | card suits
|
||||
`msx_ru` | yes | yes | no | no | no | yes
|
||||
all the rest | yes | yes | no | no | no | no
|
||||
|
||||
1. `pet`, `origpet` and petscr` cannot display card suit symbols and lowercase letters at the same time.
|
||||
1. `pet`, `origpet` and `petscr` cannot display card suit symbols and lowercase letters at the same time.
|
||||
Card suit symbols are only available in graphics mode,
|
||||
in which lowercase letters are displayed as uppercase and uppercase letters are displayed as symbols.
|
||||
|
||||
@ -110,7 +110,7 @@ then text and character literals containing lowercase letters are automatically
|
||||
##### Escape sequence availability
|
||||
|
||||
Encoding | new line | braces | backspace | cursor movement | text colour | reverse | background colour
|
||||
--|--|--|--|--|--|--
|
||||
--|--|--|--|--|--|--|--
|
||||
`pet`,`petjp` | yes | no | no | yes | yes | yes | no
|
||||
`origpet` | yes | no | no | yes | no | yes | no
|
||||
`oldpet` | yes | no | no | yes | no | yes | no
|
||||
|
@ -122,7 +122,7 @@ then the enumeration is considered _plain_. Plain enumeration types can be used
|
||||
For plain enumerations, a constant `<name>.count` is defined,
|
||||
equal to the number of variants in the enumeration.
|
||||
|
||||
Assigment between numeric types and enumerations is not possible without an explicit type cast:
|
||||
Assignment between numeric types and enumerations is not possible without an explicit type cast:
|
||||
|
||||
enum E { EA, EB }
|
||||
byte b
|
||||
|
@ -76,6 +76,6 @@ TODO: buggy.
|
||||
|
||||
#### void putbyte_safe(byte b)
|
||||
|
||||
Wrires a byte from file.
|
||||
Writes a byte from file.
|
||||
Sets `errno`.
|
||||
TODO: buggy.
|
||||
|
Loading…
Reference in New Issue
Block a user