Rated
Read 36,535 times
Contents
Related Categories
For...Next statement - Syntax
Syntax
The For...Next statement uses the following syntax:
For countervariable = start To end [Step increment]
Statement
Next [countervariable]
The code in brackets may be omitted. start and end
are both numbers, increment is also a number, and counter is a variable.
James first started writing tutorials on Visual Basic in 1999 whilst starting this website (then known as VB Web). Since then, the site has grown rapidly, and James has written numerous tutorials, articles and reviews on VB, PHP, ASP and C#. In October 2003, James formed the company Developer Fusion Ltd, which owns this website, and also offers various development services. In his spare time, he's a 3rd year undergraduate studying Computer Science in the UK. He's also a Visual Basic MVP.
Comments
Posted by davour on 01 Nov 2003
[quote]I need an equation such as a * b = c and a / c = b and b / c = a where the user types in 2 of the variables in text boxes and some proccess (such as a button click) would calculate the result....
I need to create an If...Then loop because I need an equation such as a * b = c and a / c = b and b / c = a where the user types in 2 of the variables in text boxes and some proccess (such as a butto...
What exactly do you mean by a circular reference...? (I know what you mean in reference to Excel, but I'm not sure how'd that translate to another language...) -
Is it possible to create a circular reference (in any programming language), because I know that Excel won't do it?
|