Category:Building Blocks

From Liberty BASIC Family
Jump to navigation Jump to search

Building Blocks are small, runnable pieces of code that demonstrate a single statement, function, method, or idea.
They must be well-commented.

For requests and suggestions regarding the Building Blocks, please use the discussion tab of this page.

How to add a Page for a Keyword

There should already be a page available for any keyword, so you usually do not need to create a new one, just edit the existing one.

How to add a missing Page

Example code must not rely on external files.

Page Naming Convention

Format: {Keyword}

The page name format is the keyword.
Case insensitive keywords are used all uppercase.
Case sensitive keywords must match their case used in the help file.
Functions include the braces, like ASC().
String variables and functions include the dollar symbol ($), like CommandLine$ and CHR$().

Adding a Page to a Category

Select the appropriate categories before saving the page!

See the root category Building Blocks for appropriate sub-categories at the bottom of the page.

For instance, the MAINWIN command is part of the following categories:

Category Purpose
Building Blocks add to initial category page
Just BASIC Building Blocks
Liberty BASIC Building Blocks
supported languages
MAINWIN Building Blocks keyword section
Command Building Blocks keyword type