PlayBASIC Tutorial: Intro To FOR NEXT LOOPS (2017-03-19) This tutorial takes the new basic coder through the bare bones of the FOR / NEXT loop. The tutorial was recorded live and is uploaded virtually as is, warts and all. In this tutorial we use loops to draw simple graphical objects such as boxes moving through to making a grid of scrolling boxes.
Commands we see in this tutorial. For / Next / Step / Exit / Continue / Print / Line / Box / Sync / Ink / RGB() / RND() / RndRGB() and possibly a few others.
i have picked up tips from all the videos so far.
to be honest I wouldn't have expected that.. what stuff didn't you know ?
the tips i picked up are things like:
> left click the #INCLUDE file and select 'open file at cursor'.
> SETCURSOR command (forgot about this one).
> use an exit condition with command LOOP (i forgot about that) .
> you don't need to use counter variable after command NEXT in a nested loop. i always use the variable.
> i haven't used CONTINUE. it looks handy.
> command RANDOMISE value (forgot about that). can use this in 3D for ground / hills.
> command RndRGB() (never used that one).
it is nice to get reminders of different commands.
it's good to know there's something inthem.. besides rambling :)