Count from 1 to 10 in your mind
Now lets make the computer do the same.
i is a variable that your using to count with
REM STARTING HERE WITH i equaling 1
for i = 1 to 10
REM PRINT i
print i
REM GO BACK TO THE for line and add 1 to i
next i
another example might be
REM STARTING HERE WITH MyCountVariable equaling 1
for MyCountVariable= 1 to 10
REM PRINT MyCountVariable
print MyCountVariable
REM GO BACK TO THE for line and add 1 to MyCountVariable
next MyCountVariable
Conditions are fairly easy.
In your mind you reach a crossroad, are you going to turn left to the shop, or right to the park.
Now lets look at a very basic condition with the computer.
MyVariable = 1
if MyVariable = 1
print "shops"
else
print "park"
endif
As you can see its easy if you practice them again and again.
As for arrays think of them as akin to an egg carton holder.
each egg is the array data for that specific cup.
REM Define your array
dim MyArray[3]
REM create a loop and fill the array with numbers and print them
for i = 1 to 3
MyArray[i] = i
print MyArray[i]
next i
Arrays really start at zero location but for this simple example we are skipping that.
Arrays can stretch across 5 dimensions which I wont cover here, practice them, make examples to explore.
If your not familiar with loops /arrays etc for now, I seriously suggest you head back to learning the commands before embarking on anything.
Dont try and develop anything for now, just practice the commands.
Learn a few commands a day and make a folder with snippets to practice them.
The more commands you learn the easier it will be to solve problems.
The less abstract things will appear.
Soon you will be visualizing these aspects in your minds eye with ease.
That learning snippets folder will only make you a better programmer, and challenge you to exercise your mind, which in turn will bring your ideas to life.