Skip to content

Commit 842cf6b

Browse files
committed
Modify for clarity and create
Modify several files for better linking and create scope.md as needed for end.md
1 parent 7384cbe commit 842cf6b

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/cos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ PRINT "Cosine value of a is "; COS(a)
3030
* [SIN](sin.md) and [ASN](asn.md)
3131
* [TAN](tan.md) and [ATN](atn.md)
3232
* [ACS](acs.md)
33-
* Faster library option for lower accuracy trigonometry for games: [FCOS](library/fsin.bas.md)
33+
* Faster library option for lower accuracy trigonometry for games: [FCOS](library/fsin.bas.md#COSINE)

docs/dim.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ empty string, so you don't need to initialize them, though it's recommended.
2626
ZX BASIC allows you to use undeclared variables. In Sinclair BASIC, using an unassigned variable triggered
2727
the error _Variable not found_, but in ZX BASIC it will default to 0 value.
2828

29-
You can enforce variable declaration using the `--explicit` [command line option](zxb.md#Command_Line_Options).
29+
You can enforce variable declaration using the `--explicit` [command line option](zxb.md#Command).
3030
When it's used, the compiler will require every variable to be declared with DIM before being used for the 1st time.
3131

32-
You can also enforce explicit type declaration using the `--strict` [command line option](zxb.md#Command_Line_Options).
32+
You can also enforce explicit type declaration using the `--strict` [command line option](zxb.md#Command).
3333
This way, if you use `DIM` you will be required to declare also the type needed.
3434

3535
When you use an undeclared variable, ZX BASIC will try to guess its type by looking at the context in which
@@ -166,7 +166,7 @@ DIM a([<lower_bound> TO] <upper_bound> [, ...]) AS <type>
166166
### Description
167167

168168
By default, array indexes starts from 0, not from 1 as in Sinclair BASIC. You can change this behavior setting
169-
a different array base index using either a [#pragma option](pragma.md) or a [command line option](zxb.md#Command Line Options).
169+
a different array base index using either a [#pragma option](pragma.md) or a [command line option](zxb.md#Command).
170170

171171
### Examples
172172

docs/function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ END FUNCTION
5858
However, not using types explicitly might have a negative impact on performance.
5959
Better redefine it using data types. Factorial is usually defined on unsigned integers and also returns an unsigned
6060
integer. Also, keep in mind that factorial numbers tends to _grow up very quickly_ (e.g. Factorial of 10 is 3628800),
61-
so `ULong` [type](types.md) (32 bits unsigned) seems to be the most suitable for this function.
61+
so `ULong` [type](types.md#Integral) (32 bits unsigned) seems to be the most suitable for this function.
6262

6363
This version is faster (just the 1st line is changed):
6464

docs/scope.md

Whitespace-only changes.

0 commit comments

Comments
 (0)