mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 04:54:05 +09:00
virtualcomputer: unix-like operation system [WIP]
Former-commit-id: 68bb33337b78c7357d16a5a3ca47ad5f834f3d08 Former-commit-id: 6c8931a114682d2b1414414484597f5e0d0ca095
This commit is contained in:
@@ -9,10 +9,6 @@ ROMBASIC adds global functions and constants for operability.
|
||||
\unemph{\_G.}runScript(\textbf{fun}: str, \textbf{env}: str) & nil & Runs Lua script \textbf{fun} with the environment tag \textbf{env}.
|
||||
\\ \\
|
||||
\unemph{\_G.}bell(\textbf{pattern}: str) & nil & Strike bell (or beeper) with pattern. See section \emph{Bell Codes} for more information. Aliased to \unemph{\_G.}emitTone.
|
||||
\\ \\
|
||||
computer.totalMemory() & int & Returns the total size of the memory installed in the computer, in bytes.
|
||||
\\ \\
|
||||
computer.freeMemory() & int & Returns the amount of free memory on the computer.
|
||||
\end{tabularx}
|
||||
|
||||
\section{Constants}
|
||||
@@ -21,6 +17,8 @@ ROMBASIC adds global functions and constants for operability.
|
||||
\textbf{\large Name} & \textbf{\large Type} & \textbf{\large Description}
|
||||
\\ \\
|
||||
\endhead
|
||||
\unemph{\_G.}\_TERRARUM & non-false & Indicator for multi-environment scripts.
|
||||
\\ \\
|
||||
\unemph{\_G.}EMDASH & string & EM dash represented by box-drawing character. Code 0xC4
|
||||
\\ \\
|
||||
\unemph{\_G.}UNCHECKED & string & Unchecked checkbox. Code 0x9C
|
||||
|
||||
Reference in New Issue
Block a user