Library index
The standard library is written in x itself, in runtime/runtime.pb. It is compiled together with each program, and only the procedures the program uses end up in the executable.
Names and arguments follow PureBasic, so PureBasic programs work unchanged.
Compiler functions such as SizeOf and Bool are on their own page.
Adding a library function
- Write the procedure in
runtime/runtime.pb, with the same name and arguments as PureBasic's. - Add its entry to the library's page here, following the pattern in the docs README, with an example that runs.
- Add it to the table above.
- Run
tools\check_docs.ps1to check that every example still compiles and prints what the page says.