BCL
Contents:
Features
Future Features
Standard Library Documentation
Tutorials
Tutorial
Your First Project
Variables
Math Operations
Functions
If and Else statements
Loops
Arrays
User Made types
Modules and Imports
References
Methods
BCL
Welcome to BCL’s documentation!
View page source
Welcome to BCL’s documentation!
Contents:
Features
Features
Types
Variables
Functions
Standard functions
Arrays
Imports
if, else, and else if
Future Features
Future Features
strings
Lists/Vectors
Namespaces
Standard Library Documentation
Tutorials
Tutorial
Your First Project
Step 1
Step 2: Write your code
Step 3: Compile and Run
Variables
Defining a basic variable
Changing the value of a variable
Doing math with variables
Data types
Builtin datatypes
Array type
References/Pointers
UntypedPointer
Range
Void
Explicitly giving a variable a type
Variable scope
Math Operations
Here is a list of all the math operations
Logic Operators
Stuff we learn about later
Bitwise operation
Order of Operations
Functions
Calling a Function
Other Ways to Pass Arguments
Function Returns
Defining Your Own Functions
Using Arguments
Returning Data
Side Notes
If and Else statements
If Statement
Else Statement
Chaining else and if
Multiple Conditions
Loops
While Loops
For Loops
Arrays
Defining a Simple Array
Firstly: Giving every element a value
Secondly: Repeating an expression N times
Indexing an Array
Getting the value
Setting the value
Looping Over Arrays
Getting the Length
Passing Arrays
User Made types
Enums
Defining an Enum
Using an Enum
Struct Types
Defining a Struct
Instantiating a Struct
Getting Data From a Struct
Where Can We Use These Types
Modules and Imports
What is a module
Using multiple modules with the Import statement
Modules & Imports example
Visibilty &
public
Naming Collision
References
How are references written
Side Effects
De-referencing
Lifetimes and Returnability
Methods
Defining a basic method
Trying to access struct methods without an instance
Mutable Methods
Method Chaining
Indices and tables
Index
Module Index
Search Page