A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://zxbasic.readthedocs.io/en/docs/library/ below:

Library - Boriel BASIC

Library Library of Routines and Functions

This is a list of additions to the language that have been produced. They extend the functionality of the compiler by effectively adding reserved words to the language. At their heart, they are all SUB or FUNCTION sets.

For the standard library go to the standard library page.

Non-standard libraries

These ones might not be bundled yet with ZX Basic (mostly due to lack of time). If so, you have to copy the listing shown in this wiki and create the .bas file yourself, as explained in the following section.

How to Include a Library Function

You can either copy and paste the SUB or FUNCTION into your code, or, perhaps more easily, save the text as the recommended name (e.g. fSqrt.bas) and use #include "fSqrt.bas" at the start of the program. Note that the file has to be in the same folder or directory as the original in order for the compiler to find it. If the code is included in the ZX Basic standard library, this is mentioned in the description. It's then possible to add the code simply with a #include directive.

Maths Library Graphics Library Text Handling Library Memory Banking Compression / Decompression Library

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4