Added top navbar rcdoc files

This commit is contained in:
n00b
2024-10-24 22:51:34 -04:00
parent 86fee87c0f
commit b14019f9a9
16 changed files with 1050 additions and 0 deletions

8
doc/files/constants.txt Normal file
View File

@@ -0,0 +1,8 @@
#title RCBasic Constants [RCBasic Doc]
#header CONTANTS
RCBasic has a special type of variable called a constant which can hold an expression. This means it can hold an expression and not determine its value until its used. For example you can have a constant called C that is equal to A + B. Everytime you change the value of A or B, C's value will also change. Because constants hold expressions, any valid expression in RCBasic can be stored in a constant.
#code
const A = 5
const MY_PRINT = print "hello world"
#/code