File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ COS(numericExpression)
1010## Description
1111
1212Returns the cosine value of the given argument.
13- Argument must be a numeric expression in radians units. Returned value type is [ float] ( types.md#float ) .
13+ Argument must be a numeric expression in radians units. Returned value type is [ float] ( types.md#Float ) .
1414
1515## Examples
1616
@@ -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#cosine-function )
33+ * Faster library option for lower accuracy trigonometry for games: [ FCOS] ( library/fsin.bas.md )
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ END FUNCTION
5858However, not using types explicitly might have a negative impact on performance.
5959Better redefine it using data types. Factorial is usually defined on unsigned integers and also returns an unsigned
6060integer. 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#integral ) (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
6363This version is faster (just the 1st line is changed):
6464
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ IN <port number>
1111## Description
1212
1313Returns the byte value read in the given port.
14- Argument must be a numeric expression. Returned value type is [ Ubyte] ( types.md#integral ) .
14+ Argument must be a numeric expression. Returned value type is [ Ubyte] ( types.md#Integral ) .
1515
1616## Examples
1717
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Returns the sign of a numeric expression as follows:
1212* 0 if the number is zero
1313* 1 if the number is positive
1414
15- The returned value type is [ byte] ( types.md#integral ) .
15+ The returned value type is [ byte] ( types.md#Integral ) .
1616
1717## Examples
1818
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ SIN(numericExpression)
99## Description
1010
1111Returns the sine value of the given argument.
12- Argument must be a numeric expression in radians units. Returned value type is [ float] ( types.md#float ) .
12+ Argument must be a numeric expression in radians units. Returned value type is [ float] ( types.md#Float ) .
1313
1414## Examples
1515
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ SQR(numericExpression)
1010## Description
1111
1212Returns the square root value of the given argument.
13- Argument must be a numeric expression, and is returned as type [ float] ( types.md#float ) .
13+ Argument must be a numeric expression, and is returned as type [ float] ( types.md#Float ) .
1414
1515## Examples
1616
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ STR(<numeric value>)
1010## Description
1111
1212Converts the given numeric value to a String. It's the opposite of [ VAL] ( val.md )
13- Returned value type is [ String] ( types.md#integral ) .
13+ Returned value type is [ String] ( types.md#Integral ) .
1414
1515## Examples
1616
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ TAN(numericExpression)
1111## Description
1212
1313Returns the tangent value of the given argument.
14- Argument must be a numeric expression in radians units. Returned value type is [ float] ( types.md#float ) .
14+ Argument must be a numeric expression in radians units. Returned value type is [ float] ( types.md#Float ) .
1515
1616## Examples
1717
@@ -31,4 +31,4 @@ PRINT "Tangent value of a is "; TAN(a)
3131* [ SIN] ( sin.md ) and [ ASN] ( asn.md )
3232* [ COS] ( cos.md ) and [ ACS] ( acs.md )
3333* [ ATN] ( atn.md )
34- * Faster library option for lower accuracy trigonometry for games: [ FTAN] ( library/fsin.bas.md#tangent-function )
34+ * Faster library option for lower accuracy trigonometry for games: [ FTAN] ( library/fsin.bas.md )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ value (uInteger) returned by the function.
1919If used with a string argument, it will return the UDG (User Defined Graphic) memory address of the first character of the string.
2020For example, for the ` \A ` UDG, ` USR "a" ` will return the address of it. This function is case insensitive.
2121
22- Returned value type is [ UInteger] ( types.md#integral ) .
22+ Returned value type is [ UInteger] ( types.md#Integral ) .
2323
2424## Examples
2525
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ messages (for example, to call ZX BASIC compiler from within an
159159<abbr title =" Integrated Development Environment " >IDE</abbr >).
160160
161161* ** --array-base**
162- <br />Unlike original Sinclair BASIC, array indexes starts from 0, not from 1 (see [ DIM] ( dim.md#array-declaration ) ).
162+ <br />Unlike original Sinclair BASIC, array indexes starts from 0, not from 1 (see [ DIM] ( dim.md#Array-Declaration ) ).
163163You can change this behavior. For example setting ` --array-base=1 ` will make array indexes start from 1
164164(like in Sinclair BASIC). This option (array-base=1) is active when ` --sinclair ` compatibility flag is specified.
165165
@@ -211,9 +211,9 @@ This option is really useful and you should enable it for large programs.
211211
212212* ** --strict**
213213<br /> Requires all variables (and parameters and functions!) to have an explicit type declared
214- (e.g. [ Uinteger] ( types.md#integral ) ). Otherwise, forgetting a type will cause an error and the program won't compile.
214+ (e.g. [ Uinteger] ( types.md#Integral ) ). Otherwise, forgetting a type will cause an error and the program won't compile.
215215This is very useful to avoid forgetting type declarations. When the type is explicitly declared the compiler can make
216216better assumptions and further error checking and optimizations.
217217
218- This is all you need to know to use the compiler. Proceed to the [ ZX BASIC] ( index.md#language-reference ) page for a
218+ This is all you need to know to use the compiler. Proceed to the [ ZX BASIC] ( index.md#Language-Reference ) page for a
219219language reference.
You can’t perform that action at this time.
0 commit comments