Choose which programming language you want to learn first. In relation to this the opinions of experts differ. Some believe that is better to start with languages, specially created for educational purposes: classic (Basic, Pascal) or modern (Scratch). Others believe that having studied any of these languages, the programmer can continue to stop the development, and not starting to study more complex. They recommend to start directly with professional languages: C, C++, C#, PHP, Perl, Python, Ruby etc.
If you chose BASIC, you get interpreters of this language on both the computer and on the phone. At first install the UBASIC interpreter, the second - MobileBasic. Both are free. To start first you need a computer with a DOS emulator for example Dosbox, but in order to use the second, a phone with support for J2ME. Thus, to learn programming you will be able to and away from the computer.
Study the commands of each of the interpreters. Please note that a common standard for the Basic language do not exist, and the same action in different shells are made slightly differently. In UBASIC to display a list of operators, type HELP command. In MobileBasic menu Options select "Help", then select one of the operators. It will appear on the screen along with templates of all parameters - will only replace them as required.
To enter, first enter the number and then the contents. The line will be located to the program code after the short rows with a lower number, but after the short rows with a higher number. For convenience, assign the row numbers that are multiples of 10, if necessary, between them can be inserted intermediate.
To save the program use the command:
SAVE "PROGNAME"To run use the command:
RUNДля view of the called program use the command:
LISTЧтобы to clear the program memory, and some interpreters - and all of the variables, use the command:
For example, type in the interpreter MobileBasic simple program:10 INPUT A%
30 C%=A%+B%
50 ENDПосле run it will prompt you for the value of the variables A% and B%, add them and assign the value of the sum variable, and then displays its value. If instead MobileBasic used UBASIC, the percent signs in the entire program get.