Forum
404 page not found - Printable Version

+- Forum (https://www.boriel.com/forum)
+-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11)
+---- Forum: Documentation (https://www.boriel.com/forum/forumdisplay.php?fid=17)
+---- Thread: 404 page not found (/showthread.php?tid=2333)



404 page not found - zarsoft - 02-26-2023

This page does not exist:

https://zxbasic.readthedocs.io/en/latest/library/point/


RE: 404 page not found - ChewBakker - 01-31-2025

zarsoft Wrote:This page does not exist:

https://zxbasic.readthedocs.io/en/latest/library/point/

It does now :-)


RE: 404 page not found - Zoran - 03-07-2025

Hello,

There are other links in documentation that are broken. Here are some:

Links listed under Reserved Identifiers:
(LEN, SGN, StdCall, TO)

https://zxbasic.readthedocs.io/en/latest/identifier/len.md
https://zxbasic.readthedocs.io/en/latest/identifier/sgn.md

https://zxbasic.readthedocs.io/en/latest/identifier/stdcall.md
https://zxbasic.readthedocs.io/en/latest/identifier/to.md -- I don't know whether TO keyword needs a separate page, perhaps it could link to FOR...NEXT. Perhaps there should be a separate page for it after all, as TO is not only used in for loop, but also in substring syntax.


Links under Inbuilt library Functions:
(HEX, INPUT, LCASE, UCASE)

https://zxbasic.readthedocs.io/en/latest/identifier/library/hex.md
https://zxbasic.readthedocs.io/en/latest/identifier/library/input.md
https://zxbasic.readthedocs.io/en/latest/identifier/library/string/lcase.md
https://zxbasic.readthedocs.io/en/latest/identifier/library/string/ucase.md

Page Standard libraries contains two links, neither of these works:

keys.bas
strings.bas
(The links for these two seem completely wrong, so I'm not trying to provide these here, just follow the link given above and take a look)


RE: 404 page not found - boriel - 03-08-2025

The thing here is that some "Keywords" will in the future implemented as pure BASIC functions or subs, like SCREEN$ and POINT nowadays.
And they will be bundled into "modules" (libraries). So, for example:
DRAW, PLOT, CIRCLE, POINT could be bundled in screen.drawing (or just screen) for example (what prevents this for being done is the strange "decorator-like" syntax of Sinclair BASIC: CIRCLE INK 7; PAPER 0; FLASH 1; <coords>

Another example:
RANDINT (unimplemented), RANDOMIZE, RND in random, and so on.

Compiling with --sinclair will autoinclude all standard functions automaticallly. Compiling with normal Boriel Basic will not, and the programmer will have to include them themselves to use them.

This is because many of these primitives are indeed ZX Spectrum specific, and the idea of the compiler is to allow other backends for other machines (e.g. someone can implement primitives for a Locomotive Basic / CPC or MSX one, which uses PSET instead of PLOT, etc).


RE: 404 page not found - Zoran - 03-08-2025

boriel Wrote:The thing here is that some "Keywords" will in the future implemented as pure BASIC functions or subs, like SCREEN$ and POINT nowadays.
And they will be bundled into "modules" (libraries). So, for example:
...


Thanks you, Boriel, but... is it the reason all these pages are are removed from documentation? Is that what you mean?


RE: 404 page not found - boriel - 03-08-2025

They haven't been updated since the initial wiki was lost (I moved to readthedocs because the Wiki was severily attacked by spamming bots).
Unfortunately not all the documentation was ported :-(
Some pages were totally overwritten and the history deleted, etc.
The good thing is that it was colaborative.
Anyone can collaborate in the docs, its just a PR against the /docs branch. The documentation are just plain Markdown files located in the /docs folder.