Template:Post documentation/Full reference manual

= Post full reference manual = This is the full reference manual of Post. Enjoy!...if you understand it.

Utilities and notes
Post has some utilities for good measure.

Comments
Post does not have multi-line comments *(for now)* like Python, but it does have single-line comments. Single line comments can be inserted using the hash sign (#).

``` ```
 * 1) sys.print-prompt."Please enter your first number in."

This line of code won't run. Because the hash sign is right at the start of the line.

Blank lines and whitespaces
Like most (if not all) other programming languages, Post ignores blank lines/newlines. However, unlike most other programming languages, Post does not delete whitespaces.

This is because there is no need to delete whitespaces - the grammar and parsing of Post is designed to limit whitespaces to only in strings. So, most Post code snippets do not include any outside-string whitespaces in at all.

RAM
Post has its own RAM. There are actually 2 RAMs - OLR RAM and MLR RAM.

OLR is short for "One-line RAM", and like its name says, it is only for one line. The OLR is reset every line. Since OLR is cleared every line in the compilation, there is no point for making a command to clear the OLR.

On the other hand, MLR is short for "Many-line RAM". It does not reset every line, instead only resetting at the beginning of the compilation, when ```sys.clearmlr``` is called up, or when ```mlr = [];``` is called up by a command.

Post also has some data types.
 * 1) Data types

"None" is a data type which is basically none. It is indicated with ```none``` or ```NN```.
 * 1) None

"String" is a data type which contains text - any text. It is indicated with double-quotes (```"stringcontent"```).
 * 1) String

"Integer" is a data type which contains a **whole** number. It is not indicated at all. (```743165```)
 * 1) Integer

Post contains variables.
 * 1) ```var``` module

Variables are in 2 forms - cell variables and list variables. Cell variables are normally deemed the "normal" one, and list variables are basically lots of cell variables mashed up together into one.
 * 1) Types of variables

Variables can be accessed with single-quotes. ```'variablename'```
 * 1) Accessing variables

Description: Prints out text into the "stdout".
 * 1) ```sys``` module
 * 2) ```sys.print```

Syntax: sys.print.*text*
 * *text* = A ```str``` containing the text to be printed out into the "stdout".