Hi does anyone know how to program Algebra in VB? For instance I want to calculate "x" times of "a". In other words, "a" cubed "x".

I was thinking in VB should be something like this:
VB Code:
  1. x=x+1
  2. While x=1
  3. yo=(a*a)*x
  4. Wend

But it doesn't seem to work. Anyone? Even not a programmer, please give me ideas