The basics of the BASIC language

This course for beginner. so I won't explain everything about CUBLOC-BASIC. If you want more detail information about CUBLOC-BASIC, you should see CUBLOC online-Documentation.

I will explain 5 kinds BASIC grammer statement only.

CUBLOC BASIC has a lot of feature, but at this moment most important thing is how to you understading about Basic of CUBLOC BASIC language. Trying to learn everything at once can tire you out quickly.

these 5 kind of grammer is most important at the BASIC language.

Dim

Dim is variable define command.

CUBLOC has 5 kinds of variable type.

Syntax :

Dim [Variable Name] As [Variable Type]

Example :

Dim Motor1 As Integer

The number that can be handled differs depending on the type.

String type can store string up to 128 characters.

Charles's Blog