The equals sign in VB is the same as an equals sign in math most of the time. It can be used to test equivalence, but cannot be used to solve a mathematical equation. (well, at least in the sense you're thinking.)

The program you have there does nothing but assign undeclared variables to the result of a call to a method called table, which doesn't ring any bells to any methods I know off the top of my head.

Can you explain in more detail what you want to know?

thanks guys,
What i was trying to do is solve the value of 'int x',based on the arrays that were given.I decided to just write out the problems in microsoft studio and out put the result with a label.

Label1.Text = table(2 * A, B - A)

If you check the third list of elements you would find the answer to this equation would ouput the number 5.
I hope that makes sense. If not u guys can try it out to give ur self a better understanding of what im talking about.
Thanks again guys.

Okay, it's clearer now. Well, there doesn't look to be anything wrong with the syntax of any of those statements SO LONG, as the answers to the two values in the table array don't exceed the bounds of the array.

Sorry for double post, but I noted next to the equations what would happen to each of these.

intx= table(intB,intA) - Will throw an exception as 4, 2 is not in the range of the array
intx = table(2*intA, intB-intA) - Should work
intx = table(2, table(intA +1,intB - 1)) - Should work
intx = table(intA,table(intA,intA)) - Should work
intx = table(table.getupperbound(0),table.getupperbound(1)) - have to look into this more

hi
this is one of my assignment that I have to do. it is a triangle calculator. everything well with it but it just the calculation. when I run it, ...

Hello everyone hope you are doing well, i was busy these days i was having problem with the police in my country, they catch me smoking weed and now i ...