how to code a stepper motor.

I have looked at multiple online tutorials on how to program a stepper motor, but I can't get it to do anything. I am currently using this setup
(Easy Driver Hook-up Guide - learn.sparkfun.com)
but I'm just trying to make a simple system that makes the stepper turn forwards and backward controlled by an analog input.

Did you buy a programmable stepper motor? I've never heard of such a thing, so it seems unlikely that you'll be able to program a stepper motor.

Even if you could, what are the odds that this is the place to ask questions about something that is NOT an Arduino?

Now, you COULD program an Arduino to control a stepper motor, via a stepper motor driver.

You claim to have tried, but you did not post any code, or explain what the code actually does, or how that differs from what you want.

You claim to be following some guide, but have provided no proof that you are following it correctly. For all we know you have a weak pissy-ass battery trying to power a current-hungry stepper.

Some real details, not a link to some site, would be useful.

These links may help
Stepper Motor Basics
Simple Stepper Code

...R

Show us what you're doing.