Contachit
Page Navigation

Top of Page A few syntax differences between Contachit and C++

Top of Page bool (a built-in data type)
Keyword  bool

Example of data type 'bool'.

Notes

Top of Page String (a built-in data type)
Keyword  String

Example of data type 'String'.

Notes
Top of Page Integers (8 built-in data types)
Keywords

 int8,  int16,  int32,  int64   // Signed integers.

uint8, uint16, uint32, uint64   // Un-signed integers.

Example of an integer data type.

Notes

Numerical ranges
Top of Page Real Numbers (3 built-in data types)
Keywords

real_s   // Small.
real_m   // Medium.
real_l   // Large.

Example of real number data type.

Notes

Numerical ranges
Top of Page Declaration Statements
"automatic" variables. "pointer" variables. "view pointer" variables.
Top of Page "Value Assignment" Statements
Notes:
"automatic" variables. "pointer" variables. "view pointer" variables.

Top of Page "Pointer Assignment" Statements
Notes:
Existing 'pointer' variable, referring to new memory.
Existing 'pointer' variable, referring to another 'pointer' variable.
'view pointer' variables, refering to 'pointer' variable.

Top of Page Conditional
Notes:
The 7 different kinds of "if" statements.
The 7 different kinds of "while" statements.

Top of Page Function

Top of Page Object

Top of Page Constructor

Top of Page Method