Freigeben über


Small Basic - Strongly-Typed Languages

Most professional programming languages are strongly typed. This means you have to specify the type of the variable when you declare it.

For example, to create a variable that’s intended to store an integer (a whole number) in C++ or Java, you write:

int x=5;

The keyword int tells the compiler that x is a variable of the integer type. After this line, the compiler won’t let you write x="abc" (that’s a string, not an integer).

So you should get into the habit of using the same data-type for each of your variables. This makes it easier for you to transition from Small Basic to other programming languages.

 

Head to https://blogs.msdn.com/SmallBasic to download it and learn all about it!

 

Small and Basically yours,

   - Ninja Ed & Majed Marji

Comments